msg.h

来自「飞漫公司的minigui的1.6.8收费增值版本的demon等示例程序」· C头文件 代码 · 共 58 行

H
58
字号
#ifndef __MSG_H__#define __MSG_H__#include "prefs.h"/* * You can disable any DILLO_MSG* macro by adding the '_' prefix. */#ifndef WIN32#define _MSG(fmt...)#define _MSG_HTML(fmt...)#define _MSG_HTTP(fmt...)#define DILLO_MSG(fmt...)                    \   G_STMT_START {                      \      if (prefs.show_msg)              \           printf (fmt);               \   } G_STMT_END#define MSG_HTML(fmt...)               \   G_STMT_START {                      \         Html_msg(html, fmt);          \} G_STMT_END#define MSG_HTTP(fmt...)  printf("HTTP warning: " fmt)#elsestatic __inline void  _MSG(const char * fmt, ...){	return;}static __inline void  _MSG_HTML(const char * fmt, ...){	return;}static __inline void  _MSG_HTTP(const char * fmt, ...){	return;}static __inline void DILLO_MSG(const char * fmt, ...){	return;}static __inline void  MSG_HTML(const char * fmt, ...){	return;}static __inline void MSG_HTTP(const char *format, ...){	return;}#endif#endif /* __MSG_H__ */

⌨️ 快捷键说明

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