Add lime.system.CFFIPointer

This commit is contained in:
Joshua Granick
2015-09-23 09:19:45 -07:00
parent fea74fabce
commit 4a8fe40024
11 changed files with 155 additions and 74 deletions

View 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