Main Page   Compound List   File List   Compound Members   File Members  

stack_alloc.h File Reference

Go to the source code of this file.

Defines

#define ALIGN(stack, size)   ((stack) += ((size) - (int)(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 Documentation

#define ALIGN stack,
size       ((stack) += ((size) - (int)(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))))
 


Generated on Sat Dec 6 08:47:41 2003 for speex by doxygen1.2.15