static void recursiveNewUserVariableType (const char *new_typename, const char *color, type_t root)
{
if (!strcmp (root->name, "HOST") || !strcmp (root->name, "LINK")){
- newVariableType(new_typename, TYPE_VARIABLE, color, root);
+ getVariableType(new_typename, color, root);
}
xbt_dict_cursor_t cursor = NULL;
type_t child_type;
static void recursiveNewUserLinkVariableType (const char *new_typename, const char *color, type_t root)
{
if (!strcmp (root->name, "LINK")){
- newVariableType(new_typename, TYPE_VARIABLE, color, root);
+ getVariableType(new_typename, color, root);
}
xbt_dict_cursor_t cursor = NULL;
type_t child_type;
static void recursiveNewUserHostVariableType (const char *new_typename, const char *color, type_t root)
{
if (!strcmp (root->name, "HOST")){
- newVariableType(new_typename, TYPE_VARIABLE, color, root);
+ getVariableType(new_typename, color, root);
}
xbt_dict_cursor_t cursor = NULL;
type_t child_type;