CACAO
Macros | Functions
worklist.cpp File Reference

Go to the source code of this file.

Macros

#define _WL_CHECK_BOUNDS(i, l, h)   ;
 define WL_DEBUG_CHECK to activate the bound checks More...
 
#define _WL_ASSERT(a)   ;
 

Functions

worklistwl_new (int size)
 
void wl_add (worklist *w, int element)
 
int wl_get (worklist *w)
 
bool wl_is_empty (worklist *w)
 
void wl_reset (worklist *w, int size)
 

Macro Definition Documentation

#define _WL_ASSERT (   a)    ;

Definition at line 49 of file worklist.cpp.

#define _WL_CHECK_BOUNDS (   i,
  l,
 
)    ;

define WL_DEBUG_CHECK to activate the bound checks

Definition at line 48 of file worklist.cpp.

Function Documentation

void wl_add ( worklist w,
int  element 
)

Definition at line 88 of file worklist.cpp.

int wl_get ( worklist w)

Definition at line 107 of file worklist.cpp.

bool wl_is_empty ( worklist w)

Definition at line 124 of file worklist.cpp.

worklist* wl_new ( int  size)

Definition at line 68 of file worklist.cpp.

void wl_reset ( worklist w,
int  size 
)

Definition at line 135 of file worklist.cpp.