public enum LibraryOption extends Enum<LibraryOption>
Enum Constant and Description |
---|
CallingConvention
The type of calling convention.
|
FunctionMapper
A function mapper which maps from java function names to native function names.
|
IgnoreError
Function calls should NOT save the errno/last error after the call.
|
LoadNow
Load the library into memory immediately, instead of lazily loading it
|
SaveError
Function calls should save the errno/last error after the call.
|
TypeMapper
A type mapper which maps java types to native types is present.
|
Modifier and Type | Method and Description |
---|---|
static LibraryOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LibraryOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LibraryOption SaveError
IgnoreError
annotation.public static final LibraryOption IgnoreError
SaveError
annotation.public static final LibraryOption TypeMapper
public static final LibraryOption FunctionMapper
public static final LibraryOption CallingConvention
CallingConvention
public static final LibraryOption LoadNow
public static LibraryOption[] values()
for (LibraryOption c : LibraryOption.values()) System.out.println(c);
public static LibraryOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.