Minor fixes, fix compilation without HashLink library
This commit is contained in:
16
project/include/system/CFFI.h
Normal file
16
project/include/system/CFFI.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef LIME_SYSTEM_CFFI_H
|
||||
#define LIME_SYSTEM_CFFI_H
|
||||
|
||||
|
||||
#define HL_NAME(n) hl_##n
|
||||
#include <hl.h>
|
||||
|
||||
#include <hx/CFFIPrime.h>
|
||||
|
||||
|
||||
#ifndef LIME_HASHLINK
|
||||
// define stubs in CFFI.cpp
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
@@ -2,8 +2,7 @@
|
||||
#define LIME_SYSTEM_CFFI_POINTER_H
|
||||
|
||||
|
||||
#include <hl.h>
|
||||
#include <hx/CFFIPrime.h>
|
||||
#include <system/CFFI.h>
|
||||
|
||||
|
||||
namespace hx {
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#define LIME_SYSTEM_CLIPBOARD_EVENT_H
|
||||
|
||||
|
||||
#include <hl.h>
|
||||
#include <hx/CFFI.h>
|
||||
#include <system/CFFI.h>
|
||||
#include <system/ValuePointer.h>
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#define LIME_SYSTEM_SENSOR_EVENT_H
|
||||
|
||||
|
||||
#include <hl.h>
|
||||
#include <hx/CFFI.h>
|
||||
#include <system/CFFI.h>
|
||||
#include <system/ValuePointer.h>
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#define LIME_SYSTEM_VALUE_POINTER_H
|
||||
|
||||
|
||||
#include <hl.h>
|
||||
#include <hx/CFFIPrime.h>
|
||||
#include <system/CFFI.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
Reference in New Issue
Block a user