Skip to content

function getStackTop (shared-side)

Available since version: 0.1.0

This function will get the current stack elements count on squireel stack.
It is a equivalent of sq_gettop from Squirrel API.

Declaration

int getStackTop()

Parameters

No parameters.

Returns int

The current elements count on squirrel stack.