pcb 4.1.1
An interactive printed circuit board layout editor.

leaky_admin_t Union Reference

More...

Data Fields

leaky_idx_t idx
void * ptr

Detailed Description

This structure should be as big as void *, which should be the natural bit-width of the architecture.
We allocate extra admin space to be as big as this union, to preserve alignment of pointers returned by malloc().

Note:
In the special corner case when leaky_idx_t is wider than void * but not multiple of it, the alignment will be messed up, potentially causing slower memory access.

Definition at line 53 of file free_atexit.c.


Field Documentation

Definition at line 54 of file free_atexit.c.

Definition at line 55 of file free_atexit.c.


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