aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/basetypes/MCAssert.h
blob: 54979d64f1b35617fd5fab0af96a30588b1ed744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __MAILCORE_MCASSERT_H_

#define __MAILCORE_MCASSERT_H_

#define MCAssert(cond) MCAssertInternal(__FILE__, __LINE__, cond, #cond)

#ifdef __cplusplus
extern "C" {
#endif	
	void MCAssertInternal(const char * filename, unsigned int line, int cond, const char * condString);
#ifdef __cplusplus
}
#endif

#endif