package lime;


import haxe.PosInfos;
import lime.utils.Log;

#if macro
import haxe.macro.Compiler;
import haxe.macro.Context;
#end

#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end


class Lib {
	
	
	@:noCompletion private static var __sentWarnings = new Map<String, Bool> ();
	
	
	#if macro
	public static function extraParams ():Void {
		
		if (!Context.defined ("tools")) {
			
			if (!Context.defined ("flash") && (!Context.defined ("js") || Context.defined ("nodejs"))) {
				
				Compiler.define ("lime-cffi");
				Compiler.define ("native");
				Compiler.define ("lime-curl");
				Compiler.define ("lime-vorbis");
				
			}
			
		}
		
	}
	#end
	
	
	public static function notImplemented (api:String, ?posInfo:PosInfos):Void {
		
		if (!__sentWarnings.exists (api)) {
			
			__sentWarnings.set (api, true);
			
			Log.warn (api + " is not implemented", posInfo);
			
		}
		
	}
	
	
}

package lime;


import haxe.PosInfos;
import lime.utils.Log;

#if macro
import haxe.macro.Compiler;
import haxe.macro.Context;
#end

#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end


class Lib {
	
	
	@:noCompletion private static var __sentWarnings = new Map<String, Bool> ();
	
	
	#if macro
	public static function extraParams ():Void {
		
		if (!Context.defined ("tools") && !Context.defined ("nocffi")) {
			
			if (!Context.defined ("flash") && (!Context.defined ("js") || Context.defined ("nodejs"))) {
				
				Compiler.define ("lime-cffi");
				Compiler.define ("native");
				Compiler.define ("lime-curl");
				Compiler.define ("lime-vorbis");
				
			}
			
		}
		
	}
	#end
	
	
	public static function notImplemented (api:String, ?posInfo:PosInfos):Void {
		
		if (!__sentWarnings.exists (api)) {
			
			__sentWarnings.set (api, true);
			
			Log.warn (api + " is not implemented", posInfo);
			
		}
		
	}
	
	
}

Add support for -Dnocffi for tools to force no use of NDLLs
Add support for -Dnocffi for tools to force no use of NDLLs

madrazo/lime-1,madrazo/lime-1,MinoGames/lime,openfl/lime,madrazo/lime-1,MinoGames/lime,player-03/lime,openfl/lime,player-03/lime,openfl/lime,madrazo/lime-1,madrazo/lime-1,player-03/lime,MinoGames/lime,openfl/lime,openfl/lime,player-03/lime,player-03/lime,madrazo/lime-1,player-03/lime,MinoGames/lime,MinoGames/lime,player-03/lime,MinoGames/lime,openfl/lime,MinoGames/lime,openfl/lime,madrazo/lime-1