X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/892e136b3be07e45110a5a2db2889470386e954a..b3a756fa6fe08c4f377ce22d205ef5c1b28bd250:/src/instr/instr_paje_values.cpp diff --git a/src/instr/instr_paje_values.cpp b/src/instr/instr_paje_values.cpp index ee6c353400..88ad1bbeb3 100644 --- a/src/instr/instr_paje_values.cpp +++ b/src/instr/instr_paje_values.cpp @@ -4,6 +4,8 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include + #include "src/instr/instr_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_paje_values, instr, "Paje tracing event system (values)"); @@ -25,7 +27,7 @@ val_t PJ_value_new (const char *name, const char *color, type_t father) xbt_dict_set (father->values, name, ret, nullptr); XBT_DEBUG("new value %s, child of %s", ret->name, ret->father->name); - new_pajeDefineEntityValue(ret); + LogEntityValue(ret); return ret; } @@ -55,12 +57,3 @@ val_t PJ_value_get (const char *name, type_t father) } return ret; } - -void PJ_value_free (val_t value) -{ - XBT_DEBUG("free value %s, child of %s", value->name, value->father->name); - xbt_free(((val_t)value)->name); - xbt_free(((val_t)value)->color); - xbt_free(((val_t)value)->id); - xbt_free(value); -}