Lib:Architecture/Base Layer/Memory Allocation Module

From GNUpdf

Library Module
Memory Allocation Module
Layer Base
API Documentation Reference Manual
Source Files src/base/pdf-alloc.h

src/base/pdf-alloc.c

Overview

The memory allocation module provides system-independent heap memory allocation and deallocation. The usual malloc/free/realloc schema is used to provide this service.

The allocation functions should test for memory exhaustion conditions. If the program calling the allocation functions gets out of memory then NULL is returned.


Enlarge