source:
swig/creddy.i
@
11e3eb7
Last change on this file since 11e3eb7 was 11e3eb7, checked in by , 14 years ago | |
---|---|
|
|
File size: 297 bytes |
Rev | Line | |
---|---|---|
[2e046a2] | 1 | %module Creddy |
2 | ||
[53c83f4] | 3 | %include "exception.i" |
[11e3eb7] | 4 | %include "chunk.i" |
[53c83f4] | 5 | |
6 | %exception { | |
7 | try { | |
8 | $action | |
9 | } | |
10 | catch (const std::exception &e) { | |
11 | SWIG_exception(SWIG_RuntimeError, e.what()); | |
12 | } | |
13 | } | |
14 | ||
[2e046a2] | 15 | %{ |
16 | #include "creddy.hh" | |
17 | using namespace Creddy; | |
18 | %} | |
19 | ||
20 | %include "creddy.h" | |
21 | %include "creddy.hh" |
Note: See TracBrowser
for help on using the repository browser.