- {
- //check if links have been created
- xbt_assert1 (links_types != NULL && xbt_dict_length(links_types) != 0,
- "%s must be called after environment creation", __FUNCTION__);
- }
-
- char new_type[INSTR_DEFAULT_STR_SIZE];
- xbt_dict_cursor_t cursor = NULL;
- char *type;
- void *data;
- xbt_dict_foreach(links_types, cursor, type, data) {
- snprintf (new_type, INSTR_DEFAULT_STR_SIZE, "%s-%s", variable, type);
- pajeDefineVariableType (new_type, type, variable);
- }