diff options
author | chatty | 1992-12-15 11:59:51 +0000 |
---|---|---|
committer | chatty | 1992-12-15 11:59:51 +0000 |
commit | 8cfd1fe2067d4b5378430c2fd6327bae8bedbdc3 (patch) | |
tree | c9c789849194bdd8a8a5a8e4458fcaea728e2fa0 /utils | |
parent | 3a4838bed13b767132cbdf06364b2658da6cc356 (diff) | |
download | ivy-league-8cfd1fe2067d4b5378430c2fd6327bae8bedbdc3.zip ivy-league-8cfd1fe2067d4b5378430c2fd6327bae8bedbdc3.tar.gz ivy-league-8cfd1fe2067d4b5378430c2fd6327bae8bedbdc3.tar.bz2 ivy-league-8cfd1fe2067d4b5378430c2fd6327bae8bedbdc3.tar.xz |
Initial revision
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bool.h | 27 | ||||
-rw-r--r-- | utils/word.h | 29 |
2 files changed, 56 insertions, 0 deletions
diff --git a/utils/bool.h b/utils/bool.h new file mode 100644 index 0000000..ec3b36d --- /dev/null +++ b/utils/bool.h @@ -0,0 +1,27 @@ +/* + * CENA C++ Utilities + * + * Copyright 1990, 1991, 1992 + * Laboratoire de Recherche en Informatique (LRI) + * Centre d'Etudes de la Navigation Aerienne (CENA) + * + * booleans + * + * $Id$ + * $CurLog$ + */ + +#ifndef _bool_h +#define _bool_h 1 + +#if defined(TRUE) +#undef TRUE +#undef FALSE +#endif + +enum bool { + TRUE = 1, + FALSE = 0 +}; + +#endif /* _bool_h */ diff --git a/utils/word.h b/utils/word.h new file mode 100644 index 0000000..4e02ff3 --- /dev/null +++ b/utils/word.h @@ -0,0 +1,29 @@ +/* + * CENA C++ Utilities + * + * Copyright 1990, 1991, 1992 + * Laboratoire de Recherche en Informatique (LRI) + * Centre d'Etudes de la Navigation Aerienne (CENA) + * + * words and bytes + * + * $Id$ + * $CurLog$ + */ + +#ifndef word_h_ +#define word_h_ + +typedef unsigned char byte; +typedef unsigned short sword; /* 16 bits */ +typedef unsigned long lword; /* 32 bits */ + +#ifndef swsize +#define swsize 2 +#endif + +#ifndef lwsize +#define lwsize 4 +#endif + +#endif /* word_h_ */ |