Symisc UnQLite

An Embeddable NoSQL Database Engine



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

Syntax

int unqlite_vm_reset(unqlite_vm *pVm);


Reset a unQLite virtual machine to its initial state.


Description


This routine is used to reset the unQLite virtual machine to its initial state so that the caller can safely recall unqlite_vm_exec() and execute the compiled Jx9 program again.


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_release, unqlite_vm_exec.



Symisc Systems
Copyright © Symisc Systems