runtime: allow custom-gc SetFinalizer and clarify KeepAlive

This commit is contained in:
Anuraag Agrawal
2023-02-17 08:51:51 +09:00
committed by GitHub
parent e0a5fc2555
commit f6df276118
5 changed files with 19 additions and 4 deletions
+4
View File
@@ -26,6 +26,10 @@ func GC() {
// Unimplemented.
}
func SetFinalizer(obj interface{}, finalizer interface{}) {
// Unimplemented.
}
func initHeap() {
// Nothing to initialize.
}