[Ecls-list] :[u]int32-t

Matthew Mondor mm_lists at pulsar-zone.net
Tue Feb 2 18:26:43 UTC 2010


Hello again,

I noticed the following bit of code from src/c/ffi.d:

[...]
#ifdef ecl_uint16_t
        @':int16-t',
        @':uint16-t',
#endif
#ifdef ecl_uint32_t
        @':int64-t',
        @':uint64-t',
#endif
#ifdef ecl_uint64_t
        @':int64-t',
        @':uint64-t',
#endif
[...]

Is it a bug that :[u]int64-t are found twice and :[u]int32-t missing?
Or is it to encourage/force 64-bit alignment?  ecl_foreign_type_size[]
does use sizeof(ecl_int32_t), etc.

Thanks,
-- 
Matt




More information about the ecl-devel mailing list