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 intlongSize()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:PlatformMaps from a generic library name (e.g. "c") to the platform specific library name.- Overrides:
mapLibraryNamein classPlatform- Parameters:
libName- The library name to map- Returns:
- The mapped library name.
-
getLibraryNamePattern
Description copied from class:PlatformGets the regex string used to match platform-specific libraries- Overrides:
getLibraryNamePatternin classPlatform- Returns:
-
getName
Description copied from class:PlatformGets the name of thisPlatform. -
longSize
public final int longSize()Description copied from class:PlatformGets the size of a C 'long' on the native platform.
-