Wren Plugin for Xojo

VM.EnsureSlots Method

Ensures that the foreign method stack has at least [slotCount] available for use, growing the stack if needed.

EnsureSlots(
   slotCount as Integer)

Parameters

slotCount
The number of slots to ensure.

Remarks

Does not shrink the stack if it has more than enough slots.

See Also

VM Class