takechar.h
来自「Takechar 可以从不同种类的源代码中取出中文字符.它对于嵌入式设备的小字体」· C头文件 代码 · 共 46 行
H
46 行
/****************************************************
Takechar V1.00 Takes out Chinese characters from source code.
Copyright(C) 2007 ShiQizheng(sales@newexperience.51.net)
http://newexperience.51.net
All rights reserved.
Released under GPL. Please see "gpl.txt" for details.
****************************************************/
#ifndef __TAKE_CHAR_H__
#define __TAKE_CHAR_H__
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#define RESULT_DONE 0 //OK
#define RESULT_EXIT 1 //Exit
#define RESULT_FILE_ERROR 2 //File Error
#define RESULT_FILE_EOF 3 //File EOF
#define RESULT_ERROR 99 //Error
#define MAX_FILENAME_LENGTH 1024
typedef struct tagFunctionTable{
int iFunctionNumber;
int (*pFunction)( int, int * );
}FUNCTIONTABLE;
#ifdef __cplusplus
extern "C" {
#endif
int ReadOneByte( FILE *pFile, char *pChar);
void Log( char *szFormat,...);
void ErrorCodeToMessage( int iErrorCode);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?