PUSHS no longer used (removed)
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 27 Nov 2007 22:55:50 +0000 (22:55 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 27 Nov 2007 22:55:50 +0000 (22:55 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@14241 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/stack_alloc.h

index f9056b4..5264e66 100644 (file)
  */
 
 /**
- * @def PUSHS(stack, type)
- *
- * Allocates a struct stack 
- *
- * @param stack Stack
- * @param type  Struct type
- */
-
-/**
  * @def VARDECL(var)
  *
  * Declare variable on stack
 
 #define PUSH(stack, size, type) (VALGRIND_MAKE_NOACCESS(stack, 1000),ALIGN((stack),sizeof(type)),VALGRIND_MAKE_WRITABLE(stack, ((size)*sizeof(type))),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type))))
 
-#define PUSHS(stack, type) (VALGRIND_MAKE_NOACCESS(stack, 1000),ALIGN((stack),sizeof(long)),VALGRIND_MAKE_WRITABLE(stack, (sizeof(type))),(stack)+=(sizeof(type)),(type*)((stack)-(sizeof(type))))
-
 #else
 
 #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))))
-
 #endif
 
 #if defined(VAR_ARRAYS)