Iphone NDLL support (woah) (#239)

* 😭

* Update project.xml

* Update NdllUtil.hx
This commit is contained in:
Lily
2024-02-07 15:22:35 -07:00
committed by GitHub
parent c9c60f9bc6
commit 45f938318e
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -142,7 +142,7 @@
<haxedef name="USE_ADAPTED_ASSETS" unless="web" />
<!-- Comment this out to disable support for custom ndlls. !-->
<haxedef name="NDLLS_SUPPORTED" unless="web" />
<haxedef name="NDLLS_SUPPORTED" unless="web || iphonesim" />
<!-- Comment this out to disable support for custom extended classes (data/classes). !-->
<define name="SOFTCODED_CLASSES" />
+6 -5
View File
@@ -18,10 +18,11 @@ import lime.app.Application;
*/
class NdllUtil {
#if NDLLS_SUPPORTED
#if windows public static final os:String = "windows"; #end
#if linux public static final os:String = "linux"; #end
#if macos public static final os:String = "mac"; #end
#if android public static final os:String = "android"; #end
#if windows public static final os:String = "windows"; #end
#if linux public static final os:String = "linux"; #end
#if macos public static final os:String = "mac"; #end
#if android public static final os:String = "android"; #end
#if ios public static final os:String = "ios"; #end
#end
/**
@@ -74,4 +75,4 @@ class NdllUtil {
}
@:dox(hide) @:noCompletion static function noop() {}
}
}