[MINC-development] MINC2 API inconsistent data type
Vladimir S. FONOV
vladimir.fonov at gmail.com
Tue Dec 11 15:47:08 EST 2012
Hello,
could somebody explain why
int miget_dimension_size(midimhandle_t dimension, unsigned int *size_ptr);
and
int miget_dimension_sizes(const midimhandle_t dimensions[], int
array_length,
unsigned int sizes[]);
- uses unsigned int for dimension size, while
int miget_real_value_hyperslab(mihandle_t volume,
mitype_t buffer_data_type,
const unsigned long start[],
const unsigned long count[],
void *buffer);
- uses unsigned long for indexing hyperslabs ? Which makes a difference on
64bit platform.
maybe it's worth to have uniform datatype describing size of the dimensions
?
--
Best regards,
Vladimir S. Fonov ~ vladimir <dot> fonov <at> gmail <dot> com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/minc-development/attachments/20121211/40bd5abb/attachment.html>
More information about the MINC-development
mailing list