Class Platform.Darwin

java.lang.Object
com.kenai.jffi.Platform
com.kenai.jffi.Platform.Darwin
Enclosing class:
Platform

private static final class Platform.Darwin extends Platform
A Platform subclass representing the MacOS system.
  • Constructor Details

    • Darwin

      public Darwin()
  • Method Details

    • mapLibraryName

      public String mapLibraryName(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 class Platform
      Parameters:
      libName - The library name to map
      Returns:
      The mapped library name.
    • getLibraryNamePattern

      public String getLibraryNamePattern()
      Description copied from class: Platform
      Gets the regex string used to match platform-specific libraries
      Overrides:
      getLibraryNamePattern in class Platform
      Returns:
    • getName

      public String getName()
      Description copied from class: Platform
      Gets the name of this Platform.
      Overrides:
      getName in class Platform
      Returns:
      The name of this platform.
    • longSize

      public final int longSize()
      Description copied from class: Platform
      Gets the size of a C 'long' on the native platform.
      Specified by:
      longSize in class Platform
      Returns:
      the size of a long in bits