Package com.kenai.jffi
Class Platform.Darwin
- java.lang.Object
-
- com.kenai.jffi.Platform
-
- com.kenai.jffi.Platform.Darwin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.kenai.jffi.Platform
Platform.CPU, Platform.OS
-
-
Constructor Summary
Constructors Constructor Description Darwin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLibraryNamePattern()
Gets the regex string used to match platform-specific librariesjava.lang.String
getName()
Gets the name of thisPlatform
.int
longSize()
Gets the size of a C 'long' on the native platform.java.lang.String
mapLibraryName(java.lang.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
-
-
-
-
Method Detail
-
mapLibraryName
public java.lang.String mapLibraryName(java.lang.String libName)
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
public java.lang.String getLibraryNamePattern()
Description copied from class:Platform
Gets the regex string used to match platform-specific libraries- Overrides:
getLibraryNamePattern
in classPlatform
- Returns:
-
getName
public java.lang.String getName()
Description copied from class:Platform
Gets the name of thisPlatform
.
-
-