added the idea of each line of a column corresponding to a vector, with

the added informations of the number of elements per line and the
elements' names in the column's header structure
This commit is contained in:
celinemercier
2015-07-20 16:08:50 +02:00
parent 484fcca557
commit 5c674715ee
6 changed files with 66 additions and 55 deletions

View File

@ -35,13 +35,13 @@ size_t obi_sizeof(OBIType_t type)
}
size_t obi_array_sizeof(OBIType_t type, size_t nbelements)
size_t obi_array_sizeof(OBIType_t type, size_t nb_elements, size_t nb_elements_per_line)
{
size_t size;
size_t rsize;
size_t psize;
size = obi_sizeof(type) * nbelements;
size = obi_sizeof(type) * nb_elements * nb_elements_per_line;
psize = getpagesize();
rsize = size % psize;