7#ifndef GHOSTTY_VT_ALLOCATOR_H
8#define GHOSTTY_VT_ALLOCATOR_H
95 void* (*alloc)(
void *ctx,
size_t len, uint8_t alignment, uintptr_t ret_addr);
115 bool (*
resize)(
void *ctx,
void *memory,
size_t memory_len, uint8_t alignment,
size_t new_len, uintptr_t ret_addr);
142 void* (*remap)(
void *ctx,
void *memory,
size_t memory_len, uint8_t alignment,
size_t new_len, uintptr_t ret_addr);
158 void (*
free)(
void *ctx,
void *memory,
size_t memory_len, uint8_t alignment, uintptr_t ret_addr);
bool(* resize)(void *ctx, void *memory, size_t memory_len, uint8_t alignment, size_t new_len, uintptr_t ret_addr)
void(* free)(void *ctx, void *memory, size_t memory_len, uint8_t alignment, uintptr_t ret_addr)
const GhosttyAllocatorVtable * vtable