@Documented @Retention(value=RUNTIME) @Target(value={METHOD,PARAMETER}) public @interface Raw
Pointer
, direct NIO Buffer
,
String
, primitive types, and their arrays are allowed as arguments to
native functions. We can use this annotation to tell the Generator
that we wish to manipulate the actual raw JNI objects in C++.Generator
Modifier and Type | Optional Element and Description |
---|---|
boolean |
withEnv
If
true , passes the JNIEnv* as first argument to the native function. |
Copyright © 2024. All rights reserved.