Skip to main content

kj_runtime_compile

Function kj_runtime_compile 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kj_runtime_compile( source: *const u8, source_len: usize, out_handle: *mut KjHandle, error: *mut u8, error_capacity: usize, error_required: *mut usize, ) -> KjStatus
Expand description

Compiles DSL source and places a generation-safe runtime handle in out_handle.

§Safety

Non-null pointer arguments must point to readable/writable regions described by their corresponding lengths. Error buffers are optional but error_required is required.