mirror of
https://github.com/xiph/opus.git
synced 2025-05-17 00:48:29 +00:00
Making stack push a tiny bit clearer to the compiler -- don't think it really
has an effect though.
This commit is contained in:
parent
945d0df7de
commit
431e46469c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@
|
|||
|
||||
/* FIXME: Only align up to a certain size (not for structs) */
|
||||
#define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1))
|
||||
#define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/sizeof(char)),(stack)+=((size)*sizeof(type)/sizeof(char)),(type*)((stack)-((size)*sizeof(type)/sizeof(char))))
|
||||
#define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/sizeof(char)),(stack)+=(size)*(sizeof(type)/sizeof(char)),(type*)((stack)-(size)*(sizeof(type)/sizeof(char))))
|
||||
#define RESTORE_STACK (global_stack = _saved_stack)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue