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

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