blob: ca108445278130b2d13a952a3b75db7f9bd76e69 [file] [log] [blame]
/* File : example.i */
%module example
%{
#include "example.h"
%}
%include "std_string.i"
%catches(int) Test::simple();
%catches(const char *) Test::message();
%catches(Exc) Test::hosed();
%catches(A*) Test::unknown();
%catches(int, const char *, Exc) Test::multi(int x);
/* Let's just grab the original header file here */
%include "example.h"