Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to retrieve the libdata of a remote host in SG
[simgrid.git] / src / gras / DataDesc / ddt_create.c
index 1ac7274..2a5cffa 100644 (file)
@@ -13,7 +13,7 @@
 #include "xbt/ex.h"
 #include "gras/DataDesc/datadesc_private.h"
 
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ddt_create,datadesc,"Creating new datadescriptions");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_ddt_create,gras_ddt,"Creating new datadescriptions");
 
 /*** prototypes ***/
 static gras_dd_cat_field_t
@@ -592,6 +592,11 @@ static void gras_datadesc_dynar_cb(gras_datadesc_type_t typedesc, gras_cbps_t va
   dynar->size = dynar->used;
 }
 
+/** \brief Declare a new type being a dynar in which each elements are of the given type
+ * 
+ *  \param elm_t: the datadesc of the elements
+ *  \param free_func: the function to use to free the elements when the dynar gets freed
+ */
 gras_datadesc_type_t
 gras_datadesc_dynar(gras_datadesc_type_t elm_t,
                    void_f_pvoid_t *free_func) {