Fix build without import

This commit is contained in:
Joshua Granick
2015-08-31 09:46:15 -07:00
parent 197d314b59
commit 29dcfff768
2 changed files with 1 additions and 2 deletions

View File

@@ -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;

View File

@@ -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 ()) ] } );