diff --git a/lime/_backend/native/NativeApplication.hx b/lime/_backend/native/NativeApplication.hx index 855a8b78f..24e307389 100644 --- a/lime/_backend/native/NativeApplication.hx +++ b/lime/_backend/native/NativeApplication.hx @@ -10,7 +10,6 @@ import lime.graphics.GLRenderContext; import lime.graphics.RenderContext; import lime.graphics.Renderer; import lime.math.Rectangle; -import lime.system.CFFI; import lime.system.Display; import lime.system.DisplayMode; import lime.system.System; diff --git a/lime/system/CFFI.hx b/lime/system/CFFI.hx index 2a56249c1..ceaf009c0 100644 --- a/lime/system/CFFI.hx +++ b/lime/system/CFFI.hx @@ -50,7 +50,7 @@ using haxe.macro.Tools; var library = m.params[0].getValue (); var method = m.params[1].getValue (); var lazy = (m.params.length > 2) ? m.params[2].getValue () : false; - var expr = 'new CFFI<$typeString> ("$library", "$method", $lazy)'; + var expr = 'new lime.system.CFFI<$typeString> ("$library", "$method", $lazy)'; var name = "cffi_" + field.name; var cffiType = TPath ( { pack: [ "lime", "system" ], name: "CFFI", params: [ TPType (TFun (type.args, type.result).toComplexType ()) ] } );