define lfds710_pal_int_t

From liblfds.org
Jump to navigation Jump to search

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_porting_abstraction_layer_procesor.h

Typedef

typedef [type] lfds710_pal_int_t;

Example

typedef int long long lfds710_pal_uint_t;

Optionality

This typedef is mandatory.

Notes

The library needs a signed 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