github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_unicode_utf16.go (about)

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