Symisc UnQLite

An Embeddable NoSQL Database Engine



UnQLite C/C++ API Reference - VM Destroy.

Syntax

int unqlite_vm_release(unqlite_vm *pVm);


Destroy a unQLite virtual machine.


Description


This routine destroy a working unQLite virtual machine. Every virtual machine must be destroyed using a call to this routine in order to avoid memory leaks.


Parameters


pVm

A pointer to a unQLite Virtual Machine.


Return value


UNQLITE_OK is returned on success. Any other return value typically UNQLITE_CORRUPT indicates failure.


See also


unqlite_vm_reset, unqlite_vm_exec.



Symisc Systems
Copyright © Symisc Systems