Browse Source

[lua] FFI should have a constructor

Justin Donaldson 8 years ago
parent
commit
ed3ad0ed9e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      std/lua/Ffi.hx

+ 1 - 0
std/lua/Ffi.hx

@@ -27,6 +27,7 @@ import lua.Table;
 #if lua_jit
 @:luaRequire("ffi")
 extern class Ffi {
+	public function new(type : String, arg : Dynamic);
 
 	// Declaring and accessing external symbols
 	public static var C : Dynamic;