Better makefile, restructured, more demos
This commit is contained in:
16
demo/threelevel.c
Normal file
16
demo/threelevel.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user