File: miscellaneous.h

package info (click to toggle)
magnus 20060324-5.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,436 kB
  • ctags: 20,462
  • sloc: cpp: 130,217; ansic: 37,090; tcl: 10,970; perl: 1,109; makefile: 966; sh: 403; yacc: 372; csh: 57; awk: 33; asm: 10
file content (15 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* macros for coset table  */
#ifndef __MISCELLANEOUS__
#define __MISCELLANEOUS__
#define Swap(i,j)       { int swapp; swapp=i;i=j;j=swapp;}
#define Incomplete      i == 0
#define Complete           i
#define Num2Addr(i)       ((((i) - 1) * (NCOL) + 1))
#define Addr2Num(i)       ((((i) - 1) / (NCOL) + 1))
#define Space_overflow    tc_text(13, tc_pvar); \
                           tc_text(21, tc_pvar); \
                           OVERFL = TRUE; \
                           return
#endif