mirror of
https://github.com/zeldaret/oot-vc.git
synced 2026-09-26 21:35:32 -04:00
92a02201f2
* match some runtime functions * match the last non-c++ file
28 lines
472 B
C
28 lines
472 B
C
#ifndef RUNTIME_GECKO_SETJMP_H
|
|
#define RUNTIME_GECKO_SETJMP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct __jmp_buf {
|
|
unsigned long lr;
|
|
unsigned long cr;
|
|
unsigned long sp;
|
|
unsigned long toc;
|
|
unsigned long _padding1;
|
|
unsigned long gprs[32 - 13];
|
|
double fprs[(32 - 14) * 2];
|
|
double fpscr;
|
|
double _padding2;
|
|
};
|
|
|
|
int __setjmp(struct __jmp_buf* env);
|
|
void longjmp(struct __jmp_buf* env, int status);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|