Package ch.bailu.gtk.gio
Interface MemoryOutputStream.OnReallocFunc
- Enclosing class:
- MemoryOutputStream
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiononReallocFunc
(CallbackHandler __self, Pointer data, long size) Changes the size of the memory block pointed to by @data to
@size bytes.
-
Method Details
-
onReallocFunc
Changes the size of the memory block pointed to by @data to
@size bytes.
The function should have the same semantics as realloc().- Parameters:
data
- memory block to reallocatesize
- size to reallocate @data to- Returns:
- a pointer to the reallocated memory
-