toLLVMFunc: closure

This commit is contained in:
xushiwei
2024-05-04 07:47:18 +08:00
parent 06d6b447e4
commit f07a62d136
7 changed files with 11 additions and 20 deletions

View File

@@ -16,6 +16,7 @@
package runtime
/*
import (
"unsafe"
)
@@ -40,3 +41,4 @@ func ClosureF(c Closure) unsafe.Pointer {
func ClosureData(c Closure) unsafe.Pointer {
return c.data
}
*/