Haru Free PDF Library
hpdf_mmgr.h File Reference
#include "hpdf_types.h"
#include "hpdf_error.h"
Include dependency graph for hpdf_mmgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _HPDF_MPool_Node_Rec
 
struct  _HPDF_MMgr_Rec
 

Typedefs

typedef struct _HPDF_MPool_Node_RecHPDF_MPool_Node
 
typedef struct _HPDF_MPool_Node_Rec HPDF_MPool_Node_Rec
 
typedef struct _HPDF_MMgr_RecHPDF_MMgr
 
typedef struct _HPDF_MMgr_Rec HPDF_MMgr_Rec
 

Functions

HPDF_MMgr HPDF_MMgr_New (HPDF_Error error, HPDF_UINT buf_size, HPDF_Alloc_Func alloc_fn, HPDF_Free_Func free_fn)
 
void HPDF_MMgr_Free (HPDF_MMgr mmgr)
 
void * HPDF_GetMem (HPDF_MMgr mmgr, HPDF_UINT size)
 
void HPDF_FreeMem (HPDF_MMgr mmgr, void *aptr)
 

Typedef Documentation

◆ HPDF_MMgr

typedef struct _HPDF_MMgr_Rec* HPDF_MMgr

◆ HPDF_MMgr_Rec

typedef struct _HPDF_MMgr_Rec HPDF_MMgr_Rec

◆ HPDF_MPool_Node

◆ HPDF_MPool_Node_Rec

Function Documentation

◆ HPDF_FreeMem()

void HPDF_FreeMem ( HPDF_MMgr  mmgr,
void *  aptr 
)

◆ HPDF_GetMem()

void* HPDF_GetMem ( HPDF_MMgr  mmgr,
HPDF_UINT  size 
)

◆ HPDF_MMgr_Free()

void HPDF_MMgr_Free ( HPDF_MMgr  mmgr)

◆ HPDF_MMgr_New()

HPDF_MMgr HPDF_MMgr_New ( HPDF_Error  error,
HPDF_UINT  buf_size,
HPDF_Alloc_Func  alloc_fn,
HPDF_Free_Func  free_fn 
)