![]() |
libghostty-vt 1.0.0
|
Go to the source code of this file.
Data Structures | |
| struct | GhosttyAllocatorVtable |
| struct | GhosttyAllocator |
Typedefs | |
| typedef void *(* | GhosttyAllocatorAllocFn) (void *ctx, size_t len, uint8_t alignment, uintptr_t ret_addr) |
| typedef bool(* | GhosttyAllocatorResizeFn) (void *ctx, void *memory, size_t memory_len, uint8_t alignment, size_t new_len, uintptr_t ret_addr) |
| typedef void *(* | GhosttyAllocatorRemapFn) (void *ctx, void *memory, size_t memory_len, uint8_t alignment, size_t new_len, uintptr_t ret_addr) |
| typedef void(* | GhosttyAllocatorFreeFn) (void *ctx, void *memory, size_t memory_len, uint8_t alignment, uintptr_t ret_addr) |
Functions | |
| GHOSTTY_API uint8_t * | ghostty_alloc (const GhosttyAllocator *allocator, size_t len) |
| GHOSTTY_API void | ghostty_free (const GhosttyAllocator *allocator, uint8_t *ptr, size_t len) |
Memory management interface for libghostty-vt.
Definition in file allocator.h.