Files
lime/project/include/system/CFFI.h
Joshua Granick 9e9ec78a3b HL bindings
2018-06-15 00:22:24 -07:00

22 lines
320 B
C

#ifndef LIME_SYSTEM_CFFI_H
#define LIME_SYSTEM_CFFI_H
#define HL_NAME(n) hl_##n
#include <hl.h>
struct hl_varray : varray {};
struct hl_vstring : vstring {};
#undef hl_aptr
#define hl_aptr(a,t) ((t*)(((hl_varray*)(a))+1))
#include <hx/CFFIPrime.h>
#ifndef LIME_HASHLINK
// define stubs in CFFI.cpp
#endif
#endif