IDL: uint64 or udlong
azez at ufomechanic.net
Tue Jan 15 16:08:23 GMT 2008
* Stefan (metze) Metzmacher wrote, On 15/01/08 15:57:
> Amin Azez schrieb:
>> Grepping of the samba4 source helped me delcare an actual uint64_t by
>> specifying a udlong.
>> If I specify uint64 in the idl the pidl generated files try to make use
>> of "struct uint64" instead of uint64_t
>> Using udlong sounds like a step towards architecture specific sizes and
>> makes me uneasy.
>> What should I be using in my idl when I want a 64 bit unsigned integer
>> (for file-offsets in this case)?
> use 'hyper'
12/08/04 17:04:13 <metze> uint64 is 4byte aligned and HYPER_T 8byte
I guess something has happened since to remove uint64 but I'm sure I
don't want 8 byte alignment, although I could jig my struct to match...
More information about the samba-technical