Memory allocation functions
[Runtime module API]


Detailed Description

The core is responsible for managing any memory that is shared.

Use these macros to manage the allocation of objects that are registered classes.


Defines

#define gl_malloc   (*callback->malloc)
 Allocate a block of memory from the core's heap.


Define Documentation

#define gl_malloc   (*callback->malloc)

Allocate a block of memory from the core's heap.

This is necessary for any memory that the core will have to manage.

See also:
malloc()

Definition at line 273 of file gridlabd.h.

Referenced by sync_shaper().


GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy