changeset 0 | 2b3e5ec03512 |
-1:000000000000 | 0:2b3e5ec03512 |
---|---|
1 /* -*-c-*- */ |
|
2 |
|
3 %module dtnapi |
|
4 %include cstring.i |
|
5 %include std_string.i |
|
6 |
|
7 %{ |
|
8 /* Include files needed to build the wrapper code */ |
|
9 using namespace std; |
|
10 |
|
11 #include <applib/dtn_types.h> |
|
12 #include <applib/dtn_api.h> |
|
13 #include <applib/dtn_api_wrap.cc> |
|
14 %} |
|
15 |
|
16 /* Pull in the functions and types to be exported by swig */ |
|
17 |
|
18 %include "dtn_types.h" |
|
19 %include "dtn_errno.h" |
|
20 %include "dtn_api_wrap.cc" |