Fix build without import
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 ()) ] } );
|
||||
|
||||
Reference in New Issue
Block a user