Get a function from a previously defned Lua reference.
Use a previously (with aot_reference_for) defined reference to get a function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_state) | :: | L | Handle for the Lua script. |
|||
type(aot_fun_type), | intent(out) | :: | fun | Returned handle, providing access to the function. |
||
integer, | intent(in) | :: | ref | Lua reference to the function. |