github.com/goplus/igop@v0.25.0/pkg/os/signal/go121_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.21
     4  // +build go1.21
     5  
     6  package signal
     7  
     8  import (
     9  	q "os/signal"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "signal",
    19  		Path: "os/signal",
    20  		Deps: map[string]string{
    21  			"context": "context",
    22  			"os":      "os",
    23  			"sync":    "sync",
    24  			"syscall": "syscall",
    25  		},
    26  		Interfaces: map[string]reflect.Type{},
    27  		NamedTypes: map[string]reflect.Type{},
    28  		AliasTypes: map[string]reflect.Type{},
    29  		Vars:       map[string]reflect.Value{},
    30  		Funcs: map[string]reflect.Value{
    31  			"Ignore":        reflect.ValueOf(q.Ignore),
    32  			"Ignored":       reflect.ValueOf(q.Ignored),
    33  			"Notify":        reflect.ValueOf(q.Notify),
    34  			"NotifyContext": reflect.ValueOf(q.NotifyContext),
    35  			"Reset":         reflect.ValueOf(q.Reset),
    36  			"Stop":          reflect.ValueOf(q.Stop),
    37  		},
    38  		TypedConsts:   map[string]igop.TypedConst{},
    39  		UntypedConsts: map[string]igop.UntypedConst{},
    40  	})
    41  }