scpt_ffi_closure_alloc

March 26, 2020 Contributors

Name

scpt_ffi_closure_alloc — allocates an ffi_closure via the cache

Synopsis

#include "modules/scriptlets/ec_scriptlet.h"

| void * **scpt_ffi_closure_alloc** ( | thr, |   |
|   | cif, |   |
|   | glue_func, |   |
|   | ref, |   |
|   | ctx); |   |

scpt_thread * <var class="pdparam">thr</var>;
void * <var class="pdparam">cif</var>;
void(*)() <var class="pdparam">glue_func</var>;
int <var class="pdparam">ref</var>;
void * <var class="pdparam">ctx</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

allocates an ffi_closure via the cache