Skip to main content

FREContextInitializer

Type Alias FREContextInitializer 

Source
pub type FREContextInitializer = unsafe extern "C" fn(*mut c_void, *const u8, *mut c_void, *mut u32, *mut *const FRENamedFunction);
Expand description

Defines the signature for the initializer that is called each time a new AS3 ExtensionContext object is created.

ยงParameters

  • extData: The extension client data provided to the FREInitializer function as extDataToSet.
  • ctxType: Pointer to the contextType string (UTF8) as provided to the AS3 ExtensionContext.createExtensionContext call.
  • ctx: The FREContext being initialized.
  • numFunctionsToSet: The number of elements in the functionsToSet array.
  • functionsToSet: A pointer to an array of FRENamedFunction elements.