Skip to content

function getstacktop (shared-side)

Available since version: 0.3.0

This function gets the current stack elements count on squirrel 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.