Skip to main content

expr_integrate

Function expr_integrate 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn expr_integrate( handle: *mut Expr, var_ptr: *const c_char, ) -> *mut Expr
👎Deprecated since 0.1.6:

Please use rssn_expr_integrate instead.

Expand description

Computes the indefinite integral of an Expr and returns a handle to the new expression.

§Safety

This function is unsafe because it dereferences raw pointers as part of the FFI boundary. The caller must ensure:

  1. All pointer arguments are valid and point to initialized memory.
  2. The memory layout of passed structures matches the expected C-ABI layout.
  3. Any pointers returned by this function are managed according to the API’s ownership rules.