src/misc/espresso/sparse_int.h File Reference
#include "sparse.h"
#include "util_hack.h"
Go to the source code of this file.
Defines |
#define | sorted_insert(type, first, last, count, next, prev, value, newval, e) |
#define | dll_unlink(p, first, last, next, prev, count) |
#define | sm_element_alloc(newobj) |
#define | sm_element_free(e) FREE(e) |
Functions |
void | sm_row_remove_element () |
void | sm_col_remove_element () |
Define Documentation
#define dll_unlink |
( |
p, |
|
|
first, |
|
|
last, |
|
|
next, |
|
|
prev, |
|
|
count |
|
) |
|
Value:{ \
if (p->prev == 0) { \
first = p->next; \
} else { \
p->prev->next = p->next; \
} \
if (p->next == 0) { \
last = p->prev; \
} else { \
p->next->prev = p->prev; \
} \
count--; \
}
Definition at line 76 of file sparse_int.h.
#define sm_element_alloc |
( |
newobj |
|
) |
|
#define sm_element_free |
( |
e |
|
) |
FREE(e) |
#define sorted_insert |
( |
type, |
|
|
first, |
|
|
last, |
|
|
count, |
|
|
next, |
|
|
prev, |
|
|
value, |
|
|
newval, |
|
|
e |
|
) |
|
Function Documentation
void sm_col_remove_element |
( |
|
) |
|
void sm_row_remove_element |
( |
|
) |
|