#[unsafe(no_mangle)]pub unsafe extern "C" fn expr_simplify(handle: *mut Expr) -> *mut Expr👎Deprecated since 0.1.6:
Please use the handle-based rssn_expr_simplify instead.
Expand description
Simplifies an Expr and returns a handle to the new, simplified expression.
The caller is responsible for freeing the returned handle using expr_free.
§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.