/******************************************** types.h copyright 1991, Michael D. Brennan This is a source file for mawk, an implementation of the AWK programming language. Mawk is distributed without warranty under the terms of the GNU General Public License, version 2, 1991. ********************************************/ /* $Log: types.h,v $ /* Revision 1.1.1.1 1993/03/21 09:45:37 cgd /* initial import of 386bsd-0.1 sources /* * Revision 5.1 91/12/05 07:59:39 brennan * 1.1 pre-release * */ /* types.h */ #ifndef MAWK_TYPES_H #define MAWK_TYPES_H #if HAVE_VOID_PTR typedef void *PTR ; #else typedef char *PTR ; #endif #include "sizes.h" /* CELL types */ #define C_NOINIT 0 #define C_DOUBLE 1 #define C_STRING 2 #define C_STRNUM 3 #define C_MBSTRN 4 /*could be STRNUM, has not been checked */ #define C_RE 5 #define C_SPACE 6 /* split on space */ #define C_SNULL 7 /* split on the empty string */ #define C_REPL 8 /* a replacement string '\&' changed to & */ #define C_REPLV 9 /* a vector replacement -- broken on & */ #define NUM_CELL_TYPES 10 /* these defines are used to check types for two CELLs which are adjacent in memory */ #define TWO_NOINITS (2*(1<