Package org.bytedeco.javacpp.annotation
Annotation Type CriticalRegion
-
@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface CriticalRegionIn some methods,Generatorwill generate code to transfer arrays from the JVM to native code using theGet/Release<primitivetype>ArrayElementsmethods. However these methods copy the underlying data. With this annotation, the generated code will always call theGet/ReleasePrimitiveArrayCriticalmethods instead.- See Also:
Generator