From 29dcfff768ef650a8797c837782f9389e6efb54c Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 31 Aug 2015 09:46:15 -0700 Subject: [PATCH] Fix build without import --- lime/_backend/native/NativeApplication.hx | 1 - lime/system/CFFI.hx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 ()) ] } );