* Match mtx and Padclamp.c * Match the rest of GX * Import TRK 2.6 * Import MSL headers and files * Merge some MSL headers into ours
43 lines
1 KiB
C
43 lines
1 KiB
C
#ifndef _NMWEXCEPTION
|
|
#define _NMWEXCEPTION
|
|
|
|
typedef short vbase_ctor_arg_type;
|
|
typedef char local_cond_type;
|
|
|
|
typedef struct CatchInfo {
|
|
void* location;
|
|
void* typeinfo;
|
|
void* dtor;
|
|
void* sublocation;
|
|
long pointercopy;
|
|
void* stacktop;
|
|
} CatchInfo;
|
|
|
|
typedef struct DestructorChain {
|
|
struct DestructorChain* next;
|
|
void* destructor;
|
|
void* object;
|
|
} DestructorChain;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void* __register_global_object(void* object, void* destructor,
|
|
void* registration);
|
|
extern void __destroy_global_chain(void);
|
|
|
|
extern void __end__catch(CatchInfo* catchinfo);
|
|
extern void __throw(char* throwtype, void* location, void* dtor);
|
|
extern char __throw_catch_compare(const char* throwtype, const char* catchtype,
|
|
long* offset_result);
|
|
extern void __unexpected(CatchInfo* catchinfo);
|
|
|
|
extern int __register_fragment(struct __eti_init_info* info, char* TOC);
|
|
extern void __unregister_fragment(int fragmentID);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _NMWEXCEPTION
|