Go to the source code of this file.
Defines | |
#define | ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) |
#define | PUSH(stack, size, type) (ALIGN((stack),sizeof(type)),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type)))) |
#define | PUSHS(stack, type) (ALIGN((stack),sizeof(long)),(stack)+=(sizeof(type)),(type*)((stack)-(sizeof(type)))) |
#define | VARDECL(var) var |
#define | ALLOC(var, size, type) var = PUSH(stack, size, type) |
|
Aligns the stack to a 'size' boundary
|
|
Allocate 'size' elements of 'type' on stack
|
|
Allocates 'size' elements of type 'type' on the stack
|
|
Allocates a struct stack
|
|
Declare variable on stack
|