/*

EXCEPTION HANDLEING API...

Author: Matthew William Coan
Date: 
*/

#ifndef __EXCEPTION_H
#define __EXCEPTION_H

#include "setjmp.h"

#define EXCEPTION_BUFFER_SIZE 1024 * 5

extern jmp_buf __exception_jmp_buf;                          
extern char * __exception_return;
extern int __exception_type_code;
extern void __exception_pop(); 
extern void __exception_push();
extern char __exception_buffer[EXCEPTION_BUFFER_SIZE];

#endif /* __EXCEPTION_H */
