fixed bugs and added enough runtime to execute first code after the compiler segfaults at shutdown
This commit is contained in:
22
runtime/runtime.h
Normal file
22
runtime/runtime.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
** Practice runtime header for Yab2Cpp
|
||||
**
|
||||
** by Samuel D. Crow
|
||||
*/
|
||||
#ifndef YAB_RUNTIME
|
||||
#define YAB_RUTTIME
|
||||
|
||||
#include <cstdio>
|
||||
using namespace std;
|
||||
|
||||
enum STATES:unsigned int
|
||||
{
|
||||
EXIT,
|
||||
UNDEFINED_STATE_ERROR,
|
||||
START
|
||||
};
|
||||
|
||||
/* function prototype */
|
||||
unsigned int run();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user