X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3b0f18d670e7e9f89cb5a875c2c24a2a9a5c7cb5..1812accaed347769b9ee20df400ba1935c754a96:/src/instr/instr_paje.c diff --git a/src/instr/instr_paje.c b/src/instr/instr_paje.c index 8d6cf31aec..4b2c73119c 100644 --- a/src/instr/instr_paje.c +++ b/src/instr/instr_paje.c @@ -310,6 +310,17 @@ type_t getType (const char *name, type_t father) return recursiveGetType (name, father); } +void removeContainerFromParent (container_t child) +{ + container_t parent = child->father; + if (parent){ + XBT_DEBUG("removeChildContainer (%s) FromContainer (%s) ", + child->name, + parent->name); + xbt_dict_remove (parent->children, child->name); + } +} + void destroyContainer (container_t container) { XBT_DEBUG("destroy container %s", container->name);