version 1.20, 2016/01/09 17:34:43 |
version 1.21, 2016/01/12 17:48:04 |
|
|
* Special types and constants. |
* Special types and constants. |
*/ |
*/ |
typedef unsigned long LWCHAR; |
typedef unsigned long LWCHAR; |
typedef off_t LINENUM; |
|
#define MIN_LINENUM_WIDTH 7 /* Min printing width of a line number */ |
#define MIN_LINENUM_WIDTH 7 /* Min printing width of a line number */ |
#define MAX_UTF_CHAR_LEN 6 /* Max bytes in one UTF-8 char */ |
#define MAX_UTF_CHAR_LEN 6 /* Max bytes in one UTF-8 char */ |
|
|
|
|
typedef union parg { |
typedef union parg { |
char *p_string; |
char *p_string; |
int p_int; |
int p_int; |
LINENUM p_linenum; |
off_t p_linenum; |
} PARG; |
} PARG; |
|
|
struct textlist { |
struct textlist { |
|
|
|
|
/* Functions not included in funcs.h */ |
/* Functions not included in funcs.h */ |
void postoa(off_t, char *, size_t); |
void postoa(off_t, char *, size_t); |
void linenumtoa(LINENUM, char *, size_t); |
void linenumtoa(off_t, char *, size_t); |
void inttoa(int, char *, size_t); |
void inttoa(int, char *, size_t); |