Difference between revisions of "r7.1.0:Define LFDS710 PAL ALIGN SINGLE POINTER"

From liblfds.org
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 05:30, 27 May 2016

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_porting_abstraction_layer_processor.h

Define

#define LFDS710_PAL_ALIGN_SINGLE_POINTER  [lfds710_pal_uint_t size in bytes]

Example

#define LFDS710_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(lfds710_pal_uint_t). Unfortunately, compilers do not accept C code as an argument to their alignment keyword, so it is not possible to use sizeof(lfds710_pal_uint_t) in the source code. As such, it must be provided in a define.

See Also