See: Description
| Enum | Description |
|---|---|
| Convention.Style |
Calling convention enums
|
| Annotation Type | Description |
|---|---|
| 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 to the class or
method this annotation is put on.
|
| Name |
Specify the real non-obfuscated name of a field / method / class (useful when the
name is a Java keyword but not a C one, e.g. to bind a C function named
'transient')
|
| Namespace |
Specify the real non-obfuscated namespace of a C++ class.
|
| 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). |
| SetsLastError |
Applies to bindings of functions that may set errno / last error.
|
| 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.
|
Copyright © 2009-2015. All Rights Reserved.