github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_unicode_utf16.go (about)

     1  // Code generated by 'yaegi extract unicode/utf16'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"reflect"
    10  	"unicode/utf16"
    11  )
    12  
    13  func init() {
    14  	Symbols["unicode/utf16/utf16"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"AppendRune":  reflect.ValueOf(utf16.AppendRune),
    17  		"Decode":      reflect.ValueOf(utf16.Decode),
    18  		"DecodeRune":  reflect.ValueOf(utf16.DecodeRune),
    19  		"Encode":      reflect.ValueOf(utf16.Encode),
    20  		"EncodeRune":  reflect.ValueOf(utf16.EncodeRune),
    21  		"IsSurrogate": reflect.ValueOf(utf16.IsSurrogate),
    22  	}
    23  }