Package jnr.ffi
Class Platform.Darwin
- java.lang.Object
-
- jnr.ffi.Platform
-
- jnr.ffi.Platform.Supported
-
- jnr.ffi.Platform.Darwin
-
- Enclosing class:
- Platform
private static final class Platform.Darwin extends Platform.Supported
APlatform
subclass representing the MacOS system.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jnr.ffi.Platform
Platform.CPU, Platform.Linux, Platform.OS
-
-
Field Summary
-
Fields inherited from class jnr.ffi.Platform
libPattern
-
-
Constructor Summary
Constructors Constructor Description Darwin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets the name of this Platform.java.lang.String
mapLibraryName(java.lang.String libName)
Maps from a generic library name (e.g.-
Methods inherited from class jnr.ffi.Platform
addressSize, getCPU, getNativePlatform, getOS, getPlatform, getStandardCLibraryName, isBSD, isUnix, locateLibrary, longSize
-
-
-
-
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.
-
-