#[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:
- All pointer arguments are valid and point to initialized memory.
- The memory layout of passed structures matches the expected C-ABI layout.
- Any pointers returned by this function are managed according to the API’s ownership rules.