libgpac
Documentation of the core library of GPAC
JSMallocFunctions Struct Reference

#include <quickjs.h>

Data Fields

void *(* js_malloc )(JSMallocState *s, size_t size)
 
void(* js_free )(JSMallocState *s, void *ptr)
 
void *(* js_realloc )(JSMallocState *s, void *ptr, size_t size)
 
size_t(* js_malloc_usable_size )(const void *ptr)
 

Field Documentation

◆ js_malloc

void*(* JSMallocFunctions::js_malloc) (JSMallocState *s, size_t size)

◆ js_free

void(* JSMallocFunctions::js_free) (JSMallocState *s, void *ptr)

◆ js_realloc

void*(* JSMallocFunctions::js_realloc) (JSMallocState *s, void *ptr, size_t size)

◆ js_malloc_usable_size

size_t(* JSMallocFunctions::js_malloc_usable_size) (const void *ptr)