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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerch.bailu.gtk.glib.JnaMemVTable.OnCallocch.bailu.gtk.glib.JnaMemVTable.OnFreech.bailu.gtk.glib.JnaMemVTable.OnMallocch.bailu.gtk.glib.JnaMemVTable.OnReallocch.bailu.gtk.glib.JnaMemVTable.OnTryMallocch.bailu.gtk.glib.JnaMemVTable.OnTryReallocvoidsetFieldCalloc(MemVTable.OnCalloc calloc) voidsetFieldFree(MemVTable.OnFree free) voidsetFieldMalloc(MemVTable.OnMalloc malloc) voidsetFieldRealloc(MemVTable.OnRealloc realloc) voidsetFieldTryMalloc(MemVTable.OnTryMalloc try_malloc) voidsetFieldTryRealloc(MemVTable.OnTryRealloc try_realloc) Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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()
-