Annotation Type CStruct


  • @Target({TYPE,PACKAGE,FIELD,LOCAL_VARIABLE})
    @Retention(SOURCE)
    public @interface CStruct
    Author:
    Michael Bien, et al.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String header
      Relative path to the header file.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String jname
      The optional java name of the struct.
      String name
      The name of the struct.
    • Element Detail

      • header

        String header
        Relative path to the header file.

        Mandatory.

      • name

        String name
        The name of the struct.

        Mandatory for ElementType.TYPE and ElementType.PACKAGE annotations otherwise optional.

        Default:
        "_default_"
      • jname

        String jname
        The optional java name of the struct.
        Default:
        "_default_"