define LFDS700_PAL_ALIGN_SINGLE_POINTER

From liblfds.org
Revision as of 05:55, 14 December 2015 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds700
    └───inc
        └───liblfds700
                lfds700_lfds700_porting_abstraction_layer_processor.h

Define

#define LFDS700_PAL_ALIGN_SINGLE_POINTER  [lfds700_atom_t size in bytes]

Example

#define LFDS700_PAL_ALIGN_DOUBLE_POINTER  8

Optionality

This define is mandatory and the library cannot compile if it is not set.

Notes

The value to use for this define is sizeof(lfds700_pal_atom_t). Unfortunately, compilers do not accept C code as an argument to their alignment keyword, so it is not possible to use sizeof(lfds700_pal_atom_t) in the source code. As such, it must be provided in a define.

See Also