Added C99 support, refactored headers

This commit is contained in:
2021-02-15 16:20:04 -06:00
parent 47051575cb
commit 2050359d2f
8 changed files with 40 additions and 40 deletions

View File

@@ -20,12 +20,17 @@
// forward declare *most* stuff so our headers are cleaner
typedef struct CState CState;
typedef struct CChunk CChunk;
typedef struct CCallFrame CCallFrame;
#ifdef NAN_BOXXED
typedef union CValue CValue;
#else
typedef struct CValue CValue;
#endif
typedef struct CValueArray CValueArray;
typedef uint32_t cosmo_Flag;
// objs
typedef struct CObj CObj;
typedef struct CObjString CObjString;