Merge pull request #1536 from rbehrends/fix-c++-exceptions

Fix the C++ exception struct in nimbase.h.
This commit is contained in:
Andreas Rumpf 2014-09-22 00:05:27 +02:00
commit be4ba236d9

View file

@ -175,9 +175,9 @@ __clang__
# define NIM_NIL 0 # define NIM_NIL 0
struct NimException struct NimException
{ {
NimException(struct E_Base* exp, const char* msg): exp(exp), msg(msg) {} NimException(struct Exception* exp, const char* msg): exp(exp), msg(msg) {}
struct E_Base* exp; struct Exception* exp;
const char* msg; const char* msg;
}; };
#else #else