Package org.bytedeco.javacpp.annotation
Annotation Interface Raw
Allows passing and returning Java objects with native functions and raw JNI types.
By default, only descendents of
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++.- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Iftrue
, passes theJNIEnv*
as first argument to the native function.
-
Element Details
-
withEnv
boolean withEnvIftrue
, passes theJNIEnv*
as first argument to the native function.- Default:
false
-