mptar_memory_cfg

Module: Memory Management Callbacks and Configuration

Custom allocator configuration structure.

#include <minipaxtar.h>

Public Attributes

Name
mptar_alloc_fn alloc
Pointer to custom allocation function.
mptar_free_fn free
Pointer to custom deallocation function.
void * alloc_user_data
User-provided opaque pointer that is passed directly to alloc/free.

Public Attributes Documentation

variable alloc

mptar_alloc_fn alloc;

Pointer to custom allocation function.

variable free

mptar_free_fn free;

Pointer to custom deallocation function.

variable alloc_user_data

void * alloc_user_data;

User-provided opaque pointer that is passed directly to alloc/free.


Updated on 2026-07-23 at 20:07:34 +0000