Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] better way of getting references to types
[simgrid.git] / src / instr / instr_paje.c
index 7bc4bbf..462955a 100644 (file)
@@ -239,9 +239,9 @@ static type_t recursiveGetType (const char *name, type_t root)
   return NULL;
 }
 
-type_t getType (const char *name)
+type_t getType (const char *name, type_t father)
 {
-  return recursiveGetType (name, rootType);
+  return recursiveGetType (name, father);
 }
 
 void destroyContainer (container_t container)