The alloc v4 API method allocates a block of memory.
void*alloc(
a_v4_extfn_proc_context *cntxt,
size_t len
)
Memory tracking is enabled only when external_UDF_execution_mode is set to a value of 1 or 2 (validation mode or tracing mode).
| Parameter | Description |
|---|---|
| cntxt | The procedure context object |
| len | The length, in bytes, to allocate |