fixed typos and other minor things

This commit is contained in:
Celine Mercier
2015-06-10 15:19:02 +02:00
parent 9b6de9c411
commit 5d967f5b7b
9 changed files with 171 additions and 141 deletions

View File

@ -12,6 +12,7 @@
#include <unistd.h>
#include <stdint.h>
#define OBIInt_NA (INT32_MIN)
#define OBIFloat_NA (NAN)
#define OBIIdx_NA (SIZE_MAX)
@ -28,7 +29,7 @@ typedef enum {
/**
* @brief enum OBITypes for the data type of the OBIColumns.
* @brief enum OBITypes for the data type of the OBIDMS columns.
*/
typedef enum OBIType {
@ -60,18 +61,18 @@ size_t obi_sizeof(OBIType_t type);
/**
* @brief returns the size requested to store an array of OBIType
*
* The returned size is enouth large to store an array of size nbelement
* The returned size is large enough to store an array of size nbelement
* but rounded at a multiple of the memory page size.
*
* @param type the OBIType code used as query
* @param nbelement the number of element to be stored
* @param nbelement the number of elements to be stored
*
* @return the size in bytes of the type
* @return the size in bytes of the array
* @retval 0 on error (unknown type)
*
* @since May 2015
* @author Eric Coissac (eric.coissac@metabarcoding.org)
*/
size_t obi_array_sizeof(OBIType_t type,size_t nbelement);
size_t obi_array_sizeof(OBIType_t type, size_t nbelements);
#endif /* OBITYPES_H_ */