X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9cad30fab188a57c3db8df0912a1691099468e64..309b053540b80defe4313836161c68ea9112d56d:/Exception.hpp diff --git a/Exception.hpp b/Exception.hpp index a6aa5ef..286fdeb 100644 --- a/Exception.hpp +++ b/Exception.hpp @@ -74,6 +74,8 @@ void CYThrow(JSContextRef context, JSValueRef value); return NULL; \ } +// XXX: fix this: _ is not safe; this is /not/ Menes ;P +#undef _assert #define _assert(test, args...) do { \ if (!(test)) \ CYThrow("*** _assert(%s):%s(%u):%s [errno=%d]", #test, __FILE__, __LINE__, __FUNCTION__, errno); \