ZEDA  1.6.18
Data Structures | Macros | Functions
zeda_rrtab.h File Reference

round-robin table. More...

#include <zeda/zeda_misc.h>
Include dependency graph for zeda_rrtab.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  zRRBool
 boolean table - an example of round-robin table. More...
 

Macros

#define zRRTabClass(tab_t, cell_t)
 generate round-robin table class. More...
 
#define zRRTabClassMethod(tab_t, cell_t)
 
#define zRRBoolCheck(tab, i, j)   ( zRRBoolCell(tab,i,j) ? *zRRBoolCell(tab,i,j) : false )
 
#define zRRBoolMark(tab, i, j)   do{ if( zRRBoolCell(tab,i,j) ){ *zRRBoolCell(tab,i,j) = true; } } while( 0 )
 
#define zRRBoolUnmark(tab, i, j)   do{ if( zRRBoolCell(tab,i,j) ){ *zRRBoolCell(tab,i,j) = false; } } while( 0 )
 

Functions

zRRBoolzRRBoolAlloc (zRRBool *tab, uint n)
 
void zRRBoolFree (zRRBool *tab)
 
boolzRRBoolCell (zRRBool *tab, uint i, uint j)
 

Detailed Description

round-robin table.

Author
Zhidao