splint.h

来自「The two C source files in this archive a」· C头文件 代码 · 共 43 行

H
43
字号
/* global definitions and tables */

#include <stdio.h>

#ifdef __TURBOC__
#include <alloc.h>
#include <stdlib.h>
#include <dir.h>
#endif
#ifdef BSD
#include <malloc.h>
#define far 
#endif
#ifdef MSDOS
#include <malloc.h>
#include <direct.h>
#include <stdlib.h>
#endif
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>

/* constants for splay algorithm */

#define CHAR_RANGE (255)
#define EOF_CODE (CHAR_RANGE + 1)
#define MAXCHAR (EOF_CODE + 1)
#define SUCCMAX (MAXCHAR + 1)
#define TWICEMAX (2 * MAXCHAR + 1)
#define ROOT 1

/* Markov model states */
/* Needs ~= 140kbytes heap to alloc properly */

#define STYLE_ID 6
#define MAXSTATE 64 /* 2 << 6 */

/* global variables */

extern char spl_passwd[];

/* end */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?