Package com.kenai.jffi
Class Platform.Darwin
java.lang.Object
com.kenai.jffi.Platform
com.kenai.jffi.Platform.Darwin
- Enclosing class:
- Platform
A
Platform
subclass representing the MacOS system.-
Nested Class Summary
Nested classes/interfaces inherited from class com.kenai.jffi.Platform
Platform.CPU, Platform.OS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the regex string used to match platform-specific librariesgetName()
Gets the name of thisPlatform
.final int
longSize()
Gets the size of a C 'long' on the native platform.mapLibraryName
(String libName) Maps from a generic library name (e.g.Methods inherited from class com.kenai.jffi.Platform
addressMask, addressSize, getCPU, getJavaMajorVersion, getOS, getPlatform, isSupported
-
Constructor Details
-
Darwin
public Darwin()
-
-
Method Details
-
mapLibraryName
Description copied from class:Platform
Maps from a generic library name (e.g. "c") to the platform specific library name.- Overrides:
mapLibraryName
in classPlatform
- Parameters:
libName
- The library name to map- Returns:
- The mapped library name.
-
getLibraryNamePattern
Description copied from class:Platform
Gets the regex string used to match platform-specific libraries- Overrides:
getLibraryNamePattern
in classPlatform
- Returns:
-
getName
Description copied from class:Platform
Gets the name of thisPlatform
. -
longSize
public final int longSize()Description copied from class:Platform
Gets the size of a C 'long' on the native platform.
-