aether_eval

Function aether_eval 

Source
#[unsafe(no_mangle)]
pub extern "C" fn aether_eval( handle: *mut AetherHandle, code: *const c_char, result: *mut *mut c_char, error: *mut *mut c_char, ) -> c_int
Expand description

Evaluate Aether code

§Parameters

  • handle: Aether engine handle
  • code: C string containing Aether code
  • result: Output parameter for result (must be freed with aether_free_string)
  • error: Output parameter for error message (must be freed with aether_free_string)

§Returns

  • 0 (Success) if evaluation succeeded
  • Non-zero error code if evaluation failed