Package org.bridj.ann

BridJ annotations classes (used to decorate bindings ; you do not need to browse this if you are using JNAerator).

See:
          Description

Enum Summary
Convention.Style Calling convention enums
 

Annotation Types Summary
Alignment Alignment of a C struct / struct field, in bytes.
Array Mono- or multi-dimensional array length (used on Pointer types).
Bits Size in bits of a struct's bit field
CLong Indicate that a Java long value is represented by a C 'long' integer (which size is platform- and compiler-dependent).
Constructor Indicate the index of a constructor.
Convention Force the method call convention to some value.
DisableDirect Forbid direct assembly wiring of a native method.
Field Indicate the index of a structure field (in Java, the order of methods and fields is unspecified so you need to order them explicitely).
Forwardable For annotations that can be forwarded to other annotations.
JNIBound Tells BridJ not to bind native methods marked with this annotation (assumes there's a legit plain-JNI binding for them)
Library Specify the name of the native library that should be bound.
Name Specify the real non-obfuscated name of a field / method (useful when the name is a Java keyword but not a C one, e.g. to bind a C function named 'transient')
Optional Applies to native methods that might not be present to avoid polluting error logs (useful for "optional" methods in many libraries).
Ptr Indicate that a Java long value is represented by a natively-sized integer ('size_t' and pointer types).
Runtime Specify the runtime that should be used to bind native methods (default is CRuntime if no annotation is provided).
Struct Struct details such as explicit fields packing and padding.
Symbol Specify the raw native shared symbol for a function / method, including the mangling (C++, __stdcall...).
Template C++ template parameters metadata
Union Marks a struct as an union (same as putting unionWith = 0 in every Field annotation).
Virtual Mark a C++ method as virtual and specify its position in the virtual table.
 

Package org.bridj.ann Description

BridJ annotations classes (used to decorate bindings ; you do not need to browse this if you are using JNAerator).



Copyright © 2009-2012. All Rights Reserved.