Files
yaegi/stdlib/go1_21_unicode_utf16.go
ee5ed52051 feat: support go1.22
* 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]>
2024-03-05 17:56:04 +01:00

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),
}
}