gameswf_log.h

来自「一个开源的Flash 播放器,可以在Windows/Linux 上运行」· C头文件 代码 · 共 38 行

H
38
字号
// gameswf_log.h	-- Thatcher Ulrich <tu@tulrich.com> 2003// This source code has been donated to the Public Domain.  Do// whatever you want with it.// Helpers for logging messages & errors.#ifndef GAMESWF_LOG_H#define GAMESWF_LOG_Hnamespace gameswf{	// Printf-style interfaces.#ifdef __GNUC__	// use the following to catch errors: (only with gcc)	void	log_msg(const char* fmt, ...) __attribute__((format (printf, 1, 2)));	void	log_error(const char* fmt, ...) __attribute__((format (printf, 1, 2)));#else	// not __GNUC__	void	log_msg(const char* fmt, ...);	void	log_error(const char* fmt, ...);#endif	// not __GNUC__}#endif // GAMESWF_LOG_H// Local Variables:// mode: C++// c-basic-offset: 8 // tab-width: 8// indent-tabs-mode: t// End:

⌨️ 快捷键说明

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