sq_arrayreverse

Squirrel 2.2

sq_arrayreverse

SQRESULT sq_arrayreverse(HSQUIRRELVM v, SQInteger idx);

reverse an array in place.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

index of the target array in the stack

return:

a SQRESULT

remarks:

Only works on arrays.