21 lines
426 B
Go
21 lines
426 B
Go
// Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT.
|
|
|
|
// +build go1.16
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"crypto/rand"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["crypto/rand"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Int": reflect.ValueOf(rand.Int),
|
|
"Prime": reflect.ValueOf(rand.Prime),
|
|
"Read": reflect.ValueOf(rand.Read),
|
|
"Reader": reflect.ValueOf(&rand.Reader).Elem(),
|
|
}
|
|
}
|