tranger2_shutdown()
#
The tranger2_shutdown()
function shuts down the TimeRanger database, releasing all allocated memory.
Prototype
int tranger2_shutdown(
json_t *tranger
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A pointer to the TimeRanger database instance to be shut down. |
Return Value
Returns 0
on success, or a negative value if an error occurs.
Notes
This function should be called when the database is no longer needed to free resources.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples