All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.javacpp.annotation.CriticalRegion Maven / Gradle / Ivy

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