Skip to main content

FreeMemory

Function FreeMemory 

Source
pub unsafe extern "C" fn FreeMemory()
Expand description

@brief Free memory used by the solver.

@deprecated Use SolverContext RAII instead - cleanup is automatic. See docs/api_migration.md for modern C++ API examples.

This function is part of the legacy C API and is maintained for backward compatibility. The modern C++ API uses RAII (Resource Acquisition Is Initialization) through SolverContext, which automatically cleans up resources when the context goes out of scope. No explicit cleanup needed.