mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-15 06:06:04 +00:00
de1a08c061
* [headers 11] stackcheck.h, jpeg functions * bss
12 lines
199 B
C
12 lines
199 B
C
#ifndef STACK_H
|
|
#define STACK_H
|
|
|
|
#include "alignment.h"
|
|
|
|
#define STACK(stack, size) \
|
|
u64 stack[ALIGN8(size) / sizeof(u64)]
|
|
|
|
#define STACK_TOP(stack) \
|
|
((u8*)(stack) + sizeof(stack))
|
|
|
|
#endif
|