Package ch.bailu.gtk.type
Class Type
java.lang.Object
ch.bailu.gtk.type.Type
Base Type for all c types and type like structures: Record, Class, Wrapper, Package, Interface...
Holds all static type cast functions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
asCPointer
(PointerInterface pointer) static long
asCPointer
(com.sun.jna.Pointer p) static long
asCPointerNotNull
(PointerInterface pointer) static com.sun.jna.Pointer
asJnaPointer
(long p) static com.sun.jna.Pointer
static Pointer
asPointer
(long cPointer) static Pointer
asPointer
(com.sun.jna.Pointer jnaPointer) static PointerContainer
cast
(long p) static PointerContainer
cast
(com.sun.jna.Pointer p) static void
throwIfNull
(PointerInterface pointer)
-
Constructor Details
-
Type
public Type()
-
-
Method Details
-
throwIfNull
-
asCPointerNotNull
-
asCPointer
-
asCPointer
public static long asCPointer(com.sun.jna.Pointer p) -
asJnaPointer
-
asJnaPointer
public static com.sun.jna.Pointer asJnaPointer(long p) -
asPointer
-
asPointer
-
cast
-
cast
-