ValFuncref converts a Func to a funcref Val Note that `f` can be `nil` to represent a null `funcref`.
(f *Func)
| 38 | // |
| 39 | // Note that `f` can be `nil` to represent a null `funcref`. |
| 40 | func ValFuncref(f *Func) Val { |
| 41 | return Val{kind: C.WASMTIME_FUNCREF, val: f} |
| 42 | } |
| 43 | |
| 44 | // mkValGC is overridden in val_feat_gc.go when GC support is compiled in to |
| 45 | // handle GC kinds such as `externref`. |
no outgoing calls
searching dependent graphs…