org.bytedeco.javacpp.annotation.CriticalRegion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacpp Show documentation
Show all versions of javacpp Show documentation
The missing bridge between Java and native C++
The newest version!
package org.bytedeco.javacpp.annotation;
import org.bytedeco.javacpp.tools.Generator;
import java.lang.annotation.*;
/**
* In some methods, {@link Generator} will generate code to transfer arrays from the
* JVM to native code using the {@code Get/ReleaseArrayElements} methods.
* However these methods copy the underlying data. With this annotation, the generated
* code will always call the {@code Get/ReleasePrimitiveArrayCritical} methods instead.
*
* @see Generator
*
*/
@Documented @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface CriticalRegion { }
© 2015 - 2024 Weber Informatics LLC | Privacy Policy