001 package org.bridj.ann;
002
003 import java.lang.annotation.ElementType;
004 import java.lang.annotation.Retention;
005 import java.lang.annotation.RetentionPolicy;
006 import java.lang.annotation.Target;
007
008 /**
009 * Indicate that a Java long value is represented by a natively-sized integer ('size_t' and pointer types).
010 * @author Olivier Chafik
011 */
012 @Forwardable
013 @Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
014 @Retention(RetentionPolicy.RUNTIME)
015 public @interface Ptr {
016 }