modified on 22 February 2008 at 20:07 ••• 3,164 views

Lib:Architecture/Base Layer/Memory Allocation Module

From GNUpdf

Jump to: navigation, search
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.