Index: ../trunk-jpl/src/c/include/macros.h
===================================================================
--- ../trunk-jpl/src/c/include/macros.h	(revision 13815)
+++ ../trunk-jpl/src/c/include/macros.h	(revision 13816)
@@ -82,14 +82,15 @@
 #define ExceptionTrapEnd(); }\
 	catch(ErrorException &exception){\
 		exception.Report();\
-		return 1;\
+		return 0;\
 	}\
 	catch (exception& e) {\
 		_printf_(true,"Standard exception: %s\n",e.what());\
-		return 1;\
+		return 0;\
 	}\
 	catch(...){\
 		_printf_(true,"An unexpected error occurred");\
+		return 0;\
 	}
 /*}}}*/
 
