Explorar o código

[lua] FFI should have a constructor

Justin Donaldson %!s(int64=8) %!d(string=hai) anos
pai
achega
ed3ad0ed9e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;