define lfds711_pal_int_t

From liblfds.org
Revision as of 20:16, 17 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

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

Typedef

typedef [type] lfds711_pal_int_t;

Example

typedef int long long lfds711_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