-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdebug.hpp
33 lines (32 loc) · 1.13 KB
/
debug.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef DEBUG_HPP
#define DEBUG_HPP
#include <iostream>
#include <cstdio>
#include <stdio.h>
#define MBMEX_DEBUG_ON
using namespace std;
//void debugPrint(string str);
void debugPrint(const char *pPrintMsg,
const char *pFile = __builtin_FILE(),
int lineNum = __builtin_LINE(),
const char *pFunc = __builtin_FUNCTION());
void tracePrint(const char *pPrintMsg,
const char *pFile = __builtin_FILE(),
int lineNum = __builtin_LINE(),
const char *pFunc = __builtin_FUNCTION());
void debugParamCharPrint(const char *pPrintMsg_1,
const char *pParamChar,
const char *pFile = __builtin_FILE(),
int lineNum = __builtin_LINE(),
const char *pFunc = __builtin_FUNCTION());
void debugParamIntPrint(const char *pPrintMsg_1,
const int paramInt,
const char *pFile = __builtin_FILE(),
int lineNum = __builtin_LINE(),
const char *pFunc = __builtin_FUNCTION());
void debugParamIntHexPrint(const char *pPrintMsg_1,
const int paramInt,
const char *pFile = __builtin_FILE(),
int lineNum = __builtin_LINE(),
const char *pFunc = __builtin_FUNCTION());
#endif // DEBUG_HPP