JNI: use doc_gen instead of lime_doc_gen to allow OpenFL API docs to build

This commit is contained in:
Josh Tynjala
2022-09-01 18:15:41 -07:00
parent d4bcb31d06
commit 4b04674ea4

View File

@@ -367,7 +367,7 @@ class JNIMethod
``` ```
**/ **/
// Haxe 3 can't parse "target.threaded" inside parentheses. // Haxe 3 can't parse "target.threaded" inside parentheses.
#if !lime_doc_gen #if !doc_gen
#if target.threaded #if target.threaded
@:autoBuild(lime.system.JNI.JNISafetyTools.build()) @:autoBuild(lime.system.JNI.JNISafetyTools.build())
#elseif (cpp || neko) #elseif (cpp || neko)
@@ -376,7 +376,7 @@ class JNIMethod
#end #end
interface JNISafety {} interface JNISafety {}
#if !lime_doc_gen #if !doc_gen
class JNISafetyTools class JNISafetyTools
{ {
#if target.threaded #if target.threaded