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.
|
// 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
|
||||||
|
|||||||
Reference in New Issue
Block a user