#include <stdint.h>
#endif
-/*** Special 4-5 letter names for some standard types ***/
+/*** Special 4 letter names for some standard types ***/
typedef void *vptr; /*!< void型ポインタ定義 / A standard pointer (to "void" because ANSI C says so) */
typedef const char *cptr; /*!< 文字列定数用ポインタ定義 / A simple pointer (to unmodifiable strings) */
-typedef const unsigned char *ucptr; /*!< 非負文字列定数用ポインタ定義 / A simple pointer (to unmodifiable strings) */
typedef double real; /*!< doubleをreal型として定義 / Since float's are silly, hard code real numbers as doubles */
cptr r;
/* Line buffer */
- static unsigned char roff_buf[256];
+ static char roff_buf[256];
/* Delay buffer */
- static unsigned char roff_waiting_buf[256];
+ static char roff_waiting_buf[256];
#ifdef JP
bool iskanji_flag = FALSE;
#endif
/* Current pointer into line roff_buf */
- static unsigned char *roff_p = roff_buf;
+ static char *roff_p = roff_buf;
/* Last space saved into roff_buf */
- static unsigned char *roff_s = NULL;
+ static char *roff_s = NULL;
/* Mega-Hack -- Delayed output */
static bool waiting_output = FALSE;
for (; *str; str++)
{
#ifdef JP
- unsigned char cbak;
+ char cbak;
bool k_flag = iskanji((unsigned char)(*str));
#endif
- unsigned char ch = *str;
+ char ch = *str;
bool wrap = (ch == '\n');
#ifdef JP
#ifdef JP
bool k_flag_local;
bool iskanji_flag_local = FALSE;
- ucptr tail = str + (k_flag ? 2 : 1);
+ cptr tail = str + (k_flag ? 2 : 1);
#else
- ucptr tail = str + 1;
+ cptr tail = str + 1;
#endif
for (; *tail; tail++)