File: to_roman.h

package info (click to toggle)
hodie 1.4-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 144 kB
  • ctags: 104
  • sloc: ansic: 1,132; makefile: 75
file content (11 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
typedef struct mode {
    unsigned char numeral : 1; /* 0 if verbose, 1 if of the form CXCVII */
    unsigned char numerus : 1; /* 0 if singular, 1 if plural */
    unsigned char casus   : 3; /* 0 Nom, 1 Gen, 2 Dat, 3 Ack, 4 Abl */
    unsigned char genus   : 2; /* 0 M, 1 F, 2 N */
    unsigned char et_bind : 1; /* 1 string high numbers together with 'et' */
    unsigned char type    : 2; /* 0: one two three, 
				* 1: first second third
				* 2: one each, two each ...
				* 3: once, twice, ... */
} mode;