runtime: fix compilation errors when using gc.extalloc
Этот коммит содержится в:
родитель
01f5c1d455
коммит
acdaa72365
1 изменённых файлов: 8 добавлений и 0 удалений
|
@ -602,3 +602,11 @@ func alloc(size uintptr) unsafe.Pointer {
|
||||||
func free(ptr unsafe.Pointer) {
|
func free(ptr unsafe.Pointer) {
|
||||||
// Currently unimplemented due to bugs in coroutine lowering.
|
// Currently unimplemented due to bugs in coroutine lowering.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func KeepAlive(x interface{}) {
|
||||||
|
// Unimplemented. Only required with SetFinalizer().
|
||||||
|
}
|
||||||
|
|
||||||
|
func SetFinalizer(obj interface{}, finalizer interface{}) {
|
||||||
|
// Unimplemented.
|
||||||
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче