Package ch.bailu.gtk.glib
Class MemVTable
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.glib.MemVTable
- All Implemented Interfaces:
PointerInterface
A set of functions used to perform memory allocation. The same #GMemVTable must
be used for all allocations in the same program; a call to g_mem_set_vtable(),
if it exists, should be prior to any use of GLib.
This functions related to this has been deprecated in 2.46, and no longer work.
be used for all allocations in the same program; a call to g_mem_set_vtable(),
if it exists, should be prior to any use of GLib.
This functions related to this has been deprecated in 2.46, and no longer work.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.glib.JnaMemVTable.OnCalloc
ch.bailu.gtk.glib.JnaMemVTable.OnFree
ch.bailu.gtk.glib.JnaMemVTable.OnMalloc
ch.bailu.gtk.glib.JnaMemVTable.OnRealloc
ch.bailu.gtk.glib.JnaMemVTable.OnTryMalloc
ch.bailu.gtk.glib.JnaMemVTable.OnTryRealloc
void
setFieldCalloc
(MemVTable.OnCalloc calloc) void
setFieldFree
(MemVTable.OnFree free) void
setFieldMalloc
(MemVTable.OnMalloc malloc) void
setFieldRealloc
(MemVTable.OnRealloc realloc) void
setFieldTryMalloc
(MemVTable.OnTryMalloc try_malloc) void
setFieldTryRealloc
(MemVTable.OnTryRealloc try_realloc) Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
MALLOC
- See Also:
-
REALLOC
- See Also:
-
FREE
- See Also:
-
CALLOC
- See Also:
-
TRY_MALLOC
- See Also:
-
TRY_REALLOC
- See Also:
-
-
Constructor Details
-
MemVTable
-
MemVTable
public MemVTable()
-
-
Method Details
-
getClassHandler
-
setFieldMalloc
-
getFieldMalloc
public ch.bailu.gtk.glib.JnaMemVTable.OnMalloc getFieldMalloc() -
setFieldRealloc
-
getFieldRealloc
public ch.bailu.gtk.glib.JnaMemVTable.OnRealloc getFieldRealloc() -
setFieldFree
-
getFieldFree
public ch.bailu.gtk.glib.JnaMemVTable.OnFree getFieldFree() -
setFieldCalloc
-
getFieldCalloc
public ch.bailu.gtk.glib.JnaMemVTable.OnCalloc getFieldCalloc() -
setFieldTryMalloc
-
getFieldTryMalloc
public ch.bailu.gtk.glib.JnaMemVTable.OnTryMalloc getFieldTryMalloc() -
setFieldTryRealloc
-
getFieldTryRealloc
public ch.bailu.gtk.glib.JnaMemVTable.OnTryRealloc getFieldTryRealloc()
-