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

     1  // Code generated by 'yaegi extract debug/plan9obj'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"debug/plan9obj"
    10  	"go/constant"
    11  	"go/token"
    12  	"reflect"
    13  )
    14  
    15  func init() {
    16  	Symbols["debug/plan9obj/plan9obj"] = map[string]reflect.Value{
    17  		// function, constant and variable definitions
    18  		"ErrNoSymbols": reflect.ValueOf(&plan9obj.ErrNoSymbols).Elem(),
    19  		"Magic386":     reflect.ValueOf(constant.MakeFromLiteral("491", token.INT, 0)),
    20  		"Magic64":      reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)),
    21  		"MagicAMD64":   reflect.ValueOf(constant.MakeFromLiteral("35479", token.INT, 0)),
    22  		"MagicARM":     reflect.ValueOf(constant.MakeFromLiteral("1607", token.INT, 0)),
    23  		"NewFile":      reflect.ValueOf(plan9obj.NewFile),
    24  		"Open":         reflect.ValueOf(plan9obj.Open),
    25  
    26  		// type definitions
    27  		"File":          reflect.ValueOf((*plan9obj.File)(nil)),
    28  		"FileHeader":    reflect.ValueOf((*plan9obj.FileHeader)(nil)),
    29  		"Section":       reflect.ValueOf((*plan9obj.Section)(nil)),
    30  		"SectionHeader": reflect.ValueOf((*plan9obj.SectionHeader)(nil)),
    31  		"Sym":           reflect.ValueOf((*plan9obj.Sym)(nil)),
    32  	}
    33  }