libdatatypes 0.3.2
Abstract datatypes for C.
Loading...
Searching...
No Matches
Pool Struct Reference

Allocate groups of equal-sized chunks of memory. More...

#include <pool.h>

Data Fields

void *(* alloc )(struct _Pool *pool)
 
void(* free )(struct _Pool *pool, void *ptr)
 

Detailed Description

Allocate groups of equal-sized chunks of memory.

Definition at line 32 of file pool.h.

Field Documentation

◆ alloc

void *(* Pool::alloc) (struct _Pool *pool)

Function to allocate memory.

Definition at line 35 of file pool.h.

◆ free

void(* Pool::free) (struct _Pool *pool, void *ptr)

Function to free memory.

Definition at line 37 of file pool.h.


The documentation for this struct was generated from the following file: