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:
@ -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;
|
||||
|
Reference in New Issue
Block a user