Add lime.system.CFFIPointer
This commit is contained in:
25
project/include/system/CFFIPointer.h
Normal file
25
project/include/system/CFFIPointer.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef LIME_SYSTEM_CFFI_POINTER_H
|
||||
#define LIME_SYSTEM_CFFI_POINTER_H
|
||||
|
||||
|
||||
#include <hx/CFFIPrime.h>
|
||||
|
||||
|
||||
namespace hx {
|
||||
|
||||
class Object;
|
||||
typedef void (*finalizer)(value v);
|
||||
|
||||
}
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
value CFFIPointer (void* ptr, hx::finalizer finalizer = 0);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user