33 #define ABC__misc__espresso__sparse_int_h
41 }
else if (last->value < newval) { \
48 }
else if (first->value > newval) { \
57 for(p = first; p->value < newval; p = p->next) \
59 if (p->value > newval) { \
76 #define dll_unlink(p, first, last, next, prev, count) { \
80 p->prev->next = p->next; \
85 p->next->prev = p->prev; \
93 extern sm_row *sm_row_freelist;
94 extern sm_col *sm_col_freelist;
96 #define sm_element_alloc(newobj) \
97 if (sm_element_freelist == NIL(sm_element)) { \
98 newobj = ALLOC(sm_element, 1); \
100 newobj = sm_element_freelist; \
101 sm_element_freelist = sm_element_freelist->next_col; \
103 newobj->user_word = NIL(char); \
105 #define sm_element_free(e) \
106 (e->next_col = sm_element_freelist, sm_element_freelist = e)
110 #define sm_element_alloc(newobj) \
111 newobj = ALLOC(sm_element, 1); \
112 newobj->user_word = NIL(char);
113 #define sm_element_free(e) \
void sm_col_remove_element()
for(p=first;p->value< newval;p=p->next)
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element
void sm_row_remove_element()