r7.0.0:lfds700_atom_t

From liblfds.org
Revision as of 19:11, 28 February 2015 by Admin (talk | contribs) (→‎Source File)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds700
    └───inc
        └───liblfds700
                lfds700_pal.h : defines, typedefs and includes

Typedef

typedef [type]  lfds700_atom_t;

Notes

To abstract away the differences in word length on different plaforms, liblfds uses a typedef.

The type used should be the unsigned integer type which is the same length in bytes as the pointer type. On 32-bit platforms, this is usually an unsigned long int. On 64-bit platforms, this is usually an unsigned long long int.

You can check by writing a small C program to print the value of sizeof(void *). This gives you the length of the pointer type. Then find the sizeof() the unsigned integer types on your system until you find an unsigned integer type of the same byte length.

See Also