Module org.jnrproject.ffi
Package jnr.ffi.annotations
-
Annotation Types Summary Annotation Type Description Clear Indicates that the temporary native memory allocated for an@Outparamneter should be cleared before passing to the native function.Delegate Direct Indicates that aStruct} 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.Variadic Specifies that a non-varargs function binding will call a variadic C function with the specified number of fixed arguments.