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

     1  // Code generated by 'yaegi extract debug/plan9obj'. DO NOT EDIT.
     2  
     3  //go:build go1.17
     4  // +build go1.17
     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  		"Magic386":   reflect.ValueOf(constant.MakeFromLiteral("491", token.INT, 0)),
    19  		"Magic64":    reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)),
    20  		"MagicAMD64": reflect.ValueOf(constant.MakeFromLiteral("35479", token.INT, 0)),
    21  		"MagicARM":   reflect.ValueOf(constant.MakeFromLiteral("1607", token.INT, 0)),
    22  		"NewFile":    reflect.ValueOf(plan9obj.NewFile),
    23  		"Open":       reflect.ValueOf(plan9obj.Open),
    24  
    25  		// type definitions
    26  		"File":          reflect.ValueOf((*plan9obj.File)(nil)),
    27  		"FileHeader":    reflect.ValueOf((*plan9obj.FileHeader)(nil)),
    28  		"Section":       reflect.ValueOf((*plan9obj.Section)(nil)),
    29  		"SectionHeader": reflect.ValueOf((*plan9obj.SectionHeader)(nil)),
    30  		"Sym":           reflect.ValueOf((*plan9obj.Sym)(nil)),
    31  	}
    32  }