Compile fix

This commit is contained in:
Joshua Granick
2018-06-22 14:11:50 -07:00
parent 98758d3da7
commit c92960e6d7
2 changed files with 10 additions and 5 deletions

View File

@@ -235,7 +235,7 @@ typedef uint16_t uchar;
#include <stdint.h>
typedef uint16_t char16_t;
typedef uint32_t char32_t;
#else
#elif defined(HL_NATIVE_UCHAR_FUN)
# include <uchar.h>
#endif
typedef char16_t uchar;

View File

@@ -5,11 +5,16 @@
#define HL_NAME(n) hl_##n
#include <hl.h>
struct hl_varray : varray {};
struct hl_vstring : vstring {};
typedef vdynamic hl_vdynamic;
typedef vobj hl_vobj;
typedef vvirtual hl_vvirtual;
typedef varray hl_varray;
typedef vclosure hl_vclosure;
typedef vclosure_wrapper hl_vclosure_wrapper;
typedef vdynobj hl_vdynobj;
typedef venum hl_venum;
typedef vstring hl_vstring;
#undef hl_aptr
#define hl_aptr(a,t) ((t*)(((hl_varray*)(a))+1))
#include <hx/CFFIPrime.h>