aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/basetypes/MCAssert.h
blob: 4022e2859fce895545d3c9a6f5c222ba7bf43d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MAILCORE_MCASSERT_H

#define MAILCORE_MCASSERT_H

#include <MailCore/MCUtils.h>

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

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

#endif