define lfds711_pal_int_t

Jump to navigation Jump to search

Source File



typedef [type] lfds711_pal_int_t;


typedef int long long lfds711_pal_uint_t;


This typedef is mandatory.


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