Skip to main content

rust__create_engine

Function rust__create_engine 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn rust__create_engine() -> *mut EngineContext
Expand description

Allocate an EngineContext; null if no factory or the factory panics

ยงSafety

Safe after rust__plugin_init; release via rust__destroy_engine once.