MCPcopy Create free account
hub / github.com/alangpierce/go-forceexport / CreateFuncForCodePtr

Function CreateFuncForCodePtr

forceexport.go:35–51  ·  view source on GitHub ↗

CreateFuncForCodePtr is given a code pointer and creates a function value that uses that pointer. The outFun argument should be a pointer to a function of the proper type (e.g. the address of a local variable), and will be set to the result function value.

(outFuncPtr interface{}, codePtr uintptr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GetFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected