mapstr.h

来自「[随书类]Dos6.0源代码」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef MAPSTR_H
#define MAPSTR_H (1)

// mapstr.h - definitions for text mapping

// basic lookup structure
typedef char *MapAbbr;
typedef int MapValu;
typedef char* (*MapTest) ( char*, char* );

typedef struct {
    MapAbbr szLabel;
    MapValu value;			// use your favorite enum here
    } MapItemRec, *MapItemPtr;

// public routines
extern MapItemPtr mapAbbrStr (
    MapAbbr szArg,
    MapItemPtr pTable,
    MapTest pTest );

#endif // MAPSTR_H

⌨️ 快捷键说明

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