Fortran Table API

Does anyone have any suggestions of how to compute the type_size for
h5tbmake_table_f? It seems that in c you can just call sizeof on your
struct. In fact, I probably will NOT be using a derived type so I just need
to compute the size of each component and sum them, right?

This is a little bit tricky to do in a portable manner, however. I can
inquire the number of bits in an integer with the bitsize() intrinsic, but
character, logical, and floating point variables do not have the required
inquiry functions and their size *could* differ from machine to machine and
compiler to compiler. Does anyone have any words of wisdom here?

Thanks,
-Z

ยทยทยท

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/Fortran-Table-API-tp2699618p2699618.html
Sent from the hdf-forum mailing list archive at Nabble.com.