Data Structures | |
| struct | DBusFreedElement |
| struct representing an element on the free list. More... | |
| struct | DBusMemBlock |
| DBusMemBlock object represents a single malloc()-returned block that gets chunked up into objects in the memory pool. More... | |
| struct | DBusMemPool |
| Internals fields of DBusMemPool. More... | |
Defines | |
| #define | ELEMENT_PADDING 4 |
| The dummy size of the variable-length "elements" field in DBusMemBlock. | |
Typedefs | |
| typedef DBusFreedElement | DBusFreedElement |
| typedef so DBusFreedElement struct can refer to itself. | |
| typedef DBusMemBlock | DBusMemBlock |
| Typedef for DBusMemBlock so the struct can recursively point to itself. | |
Functions | |
| dbus_bool_t | _dbus_mem_pool_test (void) |
| Unit test for DBusMemPool. | |
The guts of DBusMemPool.
| dbus_bool_t _dbus_mem_pool_test | ( | void | ) |
Unit test for DBusMemPool.
Definition at line 562 of file dbus-mempool.c.
References _DBUS_N_ELEMENTS, and TRUE.
1.5.2