set up
This commit is contained in:
18
src/exception.h
Normal file
18
src/exception.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef EXCEPTION_H
|
||||
#define EXCEPTION_H
|
||||
|
||||
typedef enum {
|
||||
EXCEPTION_NONE,
|
||||
EXCEPTION_STACK_OVERFLOW,
|
||||
EXCEPTION_STACK_UNDERFLOW,
|
||||
EXCEPTION_INVALID_OPCODE
|
||||
} VMBL_ExceptionType;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
VMBL_ExceptionType type;
|
||||
} VMBL_Exception;
|
||||
|
||||
char* exceptionAsCString(VMBL_Exception exception);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user