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 Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, passes the JNIEnv* as first argument to the native function.
  • Element Details

    • withEnv

      boolean withEnv
      If true, passes the JNIEnv* as first argument to the native function.
      Default:
      false