void OBJ_NAME_cleanup(int type) { unsigned long down_load; if (names_lh == NULL) return; free_type = type; down_load = lh_OBJ_NAME_down_load(names_lh); lh_OBJ_NAME_down_load(names_lh) = 0; lh_OBJ_NAME_doall(names_lh, LHASH_DOALL_FN(names_lh_free)); if (type < 0) { lh_OBJ_NAME_free(names_lh); sk_NAME_FUNCS_pop_free(name_funcs_stack, name_funcs_free); names_lh = NULL; name_funcs_stack = NULL; } else lh_OBJ_NAME_down_load(names_lh) = down_load; }
void OBJ_NAME_cleanup(int type) { unsigned long down_load; if (names_lh == NULL) return; free_type=type; down_load=names_lh->down_load; names_lh->down_load=0; lh_doall(names_lh,(func_2params_t)names_lh_free); if (type < 0) { lh_free(names_lh); sk_NAME_FUNCS_pop_free(name_funcs_stack,name_funcs_free); names_lh=NULL; name_funcs_stack = NULL; } else names_lh->down_load=down_load; }