mirror of
https://github.com/CPunch/Cosmo.git
synced 2026-02-03 09:30:03 +00:00
added support for NaN boxing (8 byte CValues!)
This commit is contained in:
@@ -7,10 +7,16 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
//#define NAN_BOXXED
|
||||
|
||||
// forward declare *most* stuff so our headers are cleaner
|
||||
typedef struct CState CState;
|
||||
typedef struct CChunk CChunk;
|
||||
#ifdef NAN_BOXXED
|
||||
typedef union CValue CValue;
|
||||
#else
|
||||
typedef struct CValue CValue;
|
||||
#endif
|
||||
|
||||
// objs
|
||||
typedef struct CObj CObj;
|
||||
|
||||
Reference in New Issue
Block a user