37 #include "hawki_utils.h"
38 #include "hawki_alloc.h"
58 for(idet = 0; idet < HAWKI_NB_DETECTORS; ++idet)
59 cpl_table_delete(table[idet]);
61 if(cpl_errorstate_get() != CPL_ERROR_NONE)
77 tables = cpl_malloc(
sizeof(cpl_table *) * HAWKI_NB_DETECTORS);
78 for(idet = 0; idet < HAWKI_NB_DETECTORS; ++idet)
79 tables[idet] = cpl_table_new(nrow);
81 if(cpl_errorstate_get() != CPL_ERROR_NONE)