1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-29 08:16:11 +00:00
oot/include/stack.h
Dragorn421 de1a08c061
[headers 11] stackcheck.h, jpeg functions (#2171)
* [headers 11] stackcheck.h, jpeg functions

* bss
2024-09-08 12:02:38 -04:00

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