JNI: use doc_gen instead of lime_doc_gen to allow OpenFL API docs to build
This commit is contained in:
@@ -367,7 +367,7 @@ class JNIMethod
|
||||
```
|
||||
**/
|
||||
// Haxe 3 can't parse "target.threaded" inside parentheses.
|
||||
#if !lime_doc_gen
|
||||
#if !doc_gen
|
||||
#if target.threaded
|
||||
@:autoBuild(lime.system.JNI.JNISafetyTools.build())
|
||||
#elseif (cpp || neko)
|
||||
@@ -376,7 +376,7 @@ class JNIMethod
|
||||
#end
|
||||
interface JNISafety {}
|
||||
|
||||
#if !lime_doc_gen
|
||||
#if !doc_gen
|
||||
class JNISafetyTools
|
||||
{
|
||||
#if target.threaded
|
||||
|
||||
Reference in New Issue
Block a user