GetNativeArray Function

Gets an array from a native parameter (always by reference).

int GetNativeArray(int param, any[] local, int size)

Parameters

int param

Parameter number, starting from 1.

any[] local

Local array to copy into.

int size

Maximum size of local array.

Return Value

SP_ERROR_NONE on success, anything else on failure.

Errors

Invalid parameter number or calling from a non-native function.