Signature
native DestroyStack(&Stack:handle);
Description
Destroys a stack and frees its memory.
Notes
-
The function automatically sets the variable passed to it to 0 to aid
in preventing accidental usage after destroy.
Parameters
- handle — Stack to destroy
Returns
1 if the Stack was destroyed, 0 if nothing had to be
destroyed (invalid handle)