src/misc/espresso/sparse_int.h File Reference

#include "sparse.h"
#include "util_hack.h"
Include dependency graph for sparse_int.h:
This graph shows which files directly or indirectly include this file:

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   ) 
Value:
newobj = ALLOC(sm_element, 1);  \
    newobj->user_word = NIL(char);

Definition at line 110 of file sparse_int.h.

#define sm_element_free (  )     FREE(e)

Definition at line 113 of file sparse_int.h.

#define sorted_insert ( type,
first,
last,
count,
next,
prev,
value,
newval,
 ) 

Definition at line 33 of file sparse_int.h.


Function Documentation

void sm_col_remove_element (  ) 
void sm_row_remove_element (  ) 

Generated on Tue Jan 5 12:19:13 2010 for abc70930 by  doxygen 1.6.1