Fix for issue #2, standardized naming on EXCLIB_ scheme; moved EXC_STATUS_LIST to EXCLIB_EXCEPTION; added some new demos and gave old demos more sensible names. Various other small improvements.

This commit is contained in:
2011-07-31 10:50:52 -04:00
parent 1c280a8cde
commit 0ad3996104
6 changed files with 65 additions and 0 deletions

16
demo/throwoutside.c Normal file
View File

@@ -0,0 +1,16 @@
#include "exclib.h"
int main(void)
{
TRY {
TRY {
THROW(3, NULL);
} CATCH(5) {
EXCLIB_TRACE("Caught 5");
} ETRY;
} CATCH(3) {
EXCLIB_TRACE("Caught 3");
} ETRY;
return 0;
}