Better makefile, restructured, more demos

This commit is contained in:
2011-07-30 23:21:17 -04:00
parent b233356ad3
commit 1c280a8cde
9 changed files with 129 additions and 136 deletions

21
demo/trypair.c Normal file
View File

@@ -0,0 +1,21 @@
#include "exclib.h"
int main(void)
{
TRY {
THROW(3, NULL);
} CATCH(3) {
} ETRY;
TRY {
THROW(3, NULL);
} CATCH(3) {
TRY {
THROW(3, NULL);
} ETRY;
} ETRY;
EXCLIB_TRACE("Should never get here");
return 0;
}