Skip to main content

JS_SetModuleExportList

Function JS_SetModuleExportList 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_SetModuleExportList( ctx: *mut JsContext, m: *mut JsModuleDef, tab: *const JSCFunctionListEntry, len: c_int, ) -> c_int
Expand description

JS_SetModuleExportList: create each value from a function-list table and export it.

ยงSafety

tab must point at len valid entries, and m must come from JS_NewCModule.