3 namespace AnyCAD{
namespace API{
9 static bool Assert(
bool condition,
const String& messge,
const char* lpszFileName,
int nLine);
13 #define _any_assert_ex(condition, message, lpszFileName, nLine)\
14 AnyCAD::API::Debugger::Assert(condition, message, lpszFileName, nLine)
19 #define AnyAssert(condition, message) \
20 _any_assert_ex(!!(condition), message, __FILE__, __LINE__);
23 #define AnyAssertReturn(condition, message, returnValue) \
24 if(!_any_assert_ex(!!(condition), message, __FILE__, __LINE__))\
30 #define AnyAssertReturnVoid(condition, message) \
31 if(!_any_assert_ex(!!(condition), message, __FILE__, __LINE__))\
37 #define AnyAssertContinue(condition, message) \
38 if(!_any_assert_ex(!!(condition), message, __FILE__, __LINE__))\
std::string String
Definition: APIString.h:10