define lfds711_pal_uint_t

From liblfds.org
Jump to navigation Jump to search

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_porting_abstraction_layer_procesor.h

Typedef

typedef [type] lfds711_pal_uint_t;

Example

typedef int long long unsigned lfds711_pal_uint_t;

Optionality

This typedef is mandatory.

Notes

The library needs an unsigned type which is the natural integer length for the platform, so that for example variables used to count the number of elements in a data structure naturally and inherently provide large number ranges on more capable platforms. This type is expected also to be the same length as the type used in atomic operations.

In the C89 standard, there is no such type. It should be that int works in this way, but it does not, as with Windows and Linux int is 32 bit on 64 bit platforms.

See Also