r7.1.1:lfds711_atom_t

From liblfds.org
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_pal.h : defines, typedefs and includes

Typedef

typedef [type]  lfds711_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