CPyMemAllocatorEx Struct Reference

#include <cpython.h>

Public Attributes

void *  ctx
void *(*  malloc )(void * ctx , size_t size)
void *(*  calloc )(void * ctx , size_t nelem, size_t elsize)
void *(*  realloc )(void * ctx , void *ptr, size_t new_size)
void(*  free )(void * ctx , void *ptr)

Member Data Documentation

◆  ctx

void* ctx

◆  malloc

void*(* malloc(void * ctx , size_t size)

◆  calloc

void*(* calloc(void * ctx , size_t nelem, size_t elsize)

◆  realloc

void*(* realloc(void * ctx , void *ptr, size_t new_size)

◆  free

void(* free(void * ctx , void *ptr)