reflect: stub out reflect.New and reflect.Zero
Этот коммит содержится в:
родитель
1d7cc2c242
коммит
1047c9bd05
1 изменённых файлов: 8 добавлений и 0 удалений
|
@ -502,6 +502,14 @@ func MakeSlice(typ Type, len, cap int) Value {
|
|||
panic("unimplemented: reflect.MakeSlice()")
|
||||
}
|
||||
|
||||
func Zero(typ Type) Value {
|
||||
panic("unimplemented: reflect.Zero()")
|
||||
}
|
||||
|
||||
func New(typ Type) Value {
|
||||
panic("unimplemented: reflect.New()")
|
||||
}
|
||||
|
||||
type funcHeader struct {
|
||||
Context unsafe.Pointer
|
||||
Code unsafe.Pointer
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче