Package org.bytedeco.javacpp.annotation
Annotation Type Raw
-
@Documented @Retention(RUNTIME) @Target({METHOD,PARAMETER}) public @interface Raw
Allows passing and returning Java objects with native functions and raw JNI types. By default, only descendents ofPointer
, direct NIOBuffer
,String
, primitive types, and their arrays are allowed as arguments to native functions. We can use this annotation to tell theGenerator
that we wish to manipulate the actual raw JNI objects in C++.- See Also:
Generator
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
withEnv
Iftrue
, passes theJNIEnv*
as first argument to the native function.
-