Skip to main content

create_defuns

Function create_defuns 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn create_defuns() -> *const Defuns
Expand description

Creates an empty Defun (a list of user-defined functions).

Defuns are used to pass user-defined functions (either Python functions or symjit-compiled functions).

ยงSafety

It returns a pointer to the allocated Defun, which needs to be
deallocated eventually.