Annotation Type | Description |
---|---|
Clear |
Indicates that the temporary native memory allocated for an
@Out paramneter
should be cleared before passing to the native function. |
Delegate | |
Direct |
Indicates that a
Struct } parameter should be
backed by a persistent native memory block. |
Encoding | |
IgnoreError |
Indicates that the errno value for a native function need not be saved after
the function returns.
|
In |
Indicates that the parameter is an IN parameter.
|
LongLong |
Indicates that a long parameter should be treated as native long-long (64bit)
instead of the platform-dependent long size.
|
Meta | |
NulTerminate |
Indicates that a byte array or ByteBuffer should be terminated with a zero byte
before passing it to a native function.
|
Out |
Indicates that the parameter is an OUT parameter.
|
Pinned |
Marks a method parameter as being pinnable.
|
SaveError |
Tags a library method as requiring any error codes as returned
by errno on unix, or GetLastError on windows be saved.
|
StdCall | |
Synchronized |
Indicates that a library or a library method requires all calls to be
synchronized.
|
Transient |
Indicates that the parameter is transient.
|
TypeDefinition |
This is used internally by jnr-ffi to define type aliases, e.g.
|
Copyright © 2017. All rights reserved.