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:
12
demo/finally.c
Normal file
12
demo/finally.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "exclib.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
TRY {
|
||||
THROW(2, NULL);
|
||||
} FINALLY {
|
||||
printf("I am in the finally clause, and I am about to issue an unhandled exception error.\n");
|
||||
} ETRY;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user