Skip to content

Instantly share code, notes, and snippets.

View Pop101's full-sized avatar

Leon Leibmann Pop101

  • University of Washington
  • Kirkland
  • 11:28 (UTC -07:00)
View GitHub Profile
@rampion
rampion / try-catch-ex.c
Created April 8, 2009 02:35
TRY/CATCH/FINALLY macros for C
// gcc -o try-catch-ex try-catch.c try-catch-ex.c
#include <stdio.h>
#include "try-catch.h"
// Example of use for try-catch.h
int main(int argc, char *argv[])
{
int i = 101;
printf("before try block...\n");