Callbacks¶
|
Details¶
- Gck.Allocator(data, length)¶
- Parameters:
- Returns:
The allocated memory, or
None
when freeing.- Return type:
An allocator used to allocate data for the attributes in this [struct`Attributes`] set.
This is a function that acts like
GLib.realloc
. Specifically it frees when length is set to zero, it allocates when data is set toNone
, and it reallocates when both are valid.