⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 log.h

📁 傅立叶变换和小波变换是图像压缩的重要工具。该代大戏是利用小波变换进行图像压缩。
💻 H
字号:
#ifndef CRBLIB_LOG_H
#define CRBLIB_LOG_H

#ifdef __cplusplus
extern "C" {
#endif

/*****

the Log protos :

void Log_Puts(	const char * string);
void Log_Printf(const char * string, ...);
void Log_TeeFile( FILE * FP );	// defaults to stdout

note : Log also writes out to ThreadLog !
use ThreadLog_Report() to dump data

*****/

#ifndef	NO_LOG

#include <stdio.h>

void Log_Puts(	const char * string);
void Log_Printf(const char * string, ...);
void Log_TeeFile( FILE * FP );

#else	// NO_LOG

#pragma warning (disable:4100)
static _inline void Log_Printf(const char * str, ...) { }
#pragma warning (default:4100)

#define Log_Puts(string)
#define Log_TeeFile(f)

#endif	// NO_LOG

#ifdef __cplusplus
}
#endif

#endif // LOG_H

⌨️ 快捷键说明

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