OADL_AddProc - adds a new procedure to the OADL runtime
typedef int (*OADL_AddProc_fp)(void
*ctx, OadlVar
*pVar, const OADL_U8
instrs[], int
numInst)
The OADL_AddProc C API function allows
external C/C++ code to dynamically define a new OADL procedure from a
sequence of bytecode instructions.
pVar will be initialized with the new
Proc value. instrs is a pointer to the
bytecode array. numInst is the number of instructions (bytes)
in the array.
Returns 1 on success, 0 on failure.
None.