mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <[email protected]>
24 lines
610 B
Go
24 lines
610 B
Go
// Code generated by 'yaegi extract unicode/utf16'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"reflect"
|
|
"unicode/utf16"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["unicode/utf16/utf16"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"AppendRune": reflect.ValueOf(utf16.AppendRune),
|
|
"Decode": reflect.ValueOf(utf16.Decode),
|
|
"DecodeRune": reflect.ValueOf(utf16.DecodeRune),
|
|
"Encode": reflect.ValueOf(utf16.Encode),
|
|
"EncodeRune": reflect.ValueOf(utf16.EncodeRune),
|
|
"IsSurrogate": reflect.ValueOf(utf16.IsSurrogate),
|
|
}
|
|
}
|