Skip to main content

ptr_states

Function ptr_states 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ptr_states( q: *mut CompilerResult, ) -> *mut f64
Expand description

Returns a pointer to the state variables (count_states doubles).

The function calling execute should write the state variables in this area.

ยงSafety

it is the responsibility of the calling function to ensure
that q points to a valid CompilerResult.