Class Type

java.lang.Object
ch.bailu.gtk.type.Type
Direct Known Subclasses:
Package, Pointer

public abstract class Type extends Object
Base Type for all c types and type like structures: Record, Class, Wrapper, Package, Interface... Holds all static type cast functions
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • throwIfNull

      public static void throwIfNull(PointerInterface pointer)
    • asCPointerNotNull

      public static long asCPointerNotNull(PointerInterface pointer)
    • asCPointer

      public static long asCPointer(PointerInterface pointer)
    • asCPointer

      public static long asCPointer(com.sun.jna.Pointer p)
    • asJnaPointer

      public static com.sun.jna.Pointer asJnaPointer(PointerInterface p)
    • asJnaPointer

      public static com.sun.jna.Pointer asJnaPointer(long p)
    • asPointer

      public static Pointer asPointer(com.sun.jna.Pointer jnaPointer)
    • asPointer

      public static Pointer asPointer(long cPointer)
    • cast

      public static PointerContainer cast(long p)
    • cast

      public static PointerContainer cast(com.sun.jna.Pointer p)