stack-cleanup ( stack-size return abi -- n )


Vocabulary
cpu.architecture

Inputs
stack-sizean integer
returna c type
abian abi


Outputs
nan integer


Word description
Calculates how many bytes of stack space the caller of the procedure being constructed need to cleanup. For modern abi's the value is almost always 0.

Examples
USING: cpu.architecture prettyprint ; 20 void stdcall stack-cleanup .
20


Definition


HOOK: stack-cleanup cpu ( stack-size return abi -- n )


Methods