001    /*
002     * To change this template, choose Tools | Templates
003     * and open the template in the editor.
004     */
005    
006    package org.bridj.ann;
007    
008    import java.lang.annotation.ElementType;
009    import java.lang.annotation.Retention;
010    import java.lang.annotation.RetentionPolicy;
011    import java.lang.annotation.Target;
012    
013    /**
014     * Marks a struct as an union (same as putting unionWith = 0 in every {@link Field} annotation).
015     * @author ochafik
016     */
017    @Retention(RetentionPolicy.RUNTIME)
018    @Target({ElementType.METHOD, ElementType.TYPE, ElementType.CONSTRUCTOR})
019    public @interface Union {
020    
021    }