diff -r 000000000000 -r 2b3e5ec03512 applib/dtn_api.i --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/applib/dtn_api.i Thu Apr 21 14:57:45 2011 +0100 @@ -0,0 +1,20 @@ +/* -*-c-*- */ + +%module dtnapi +%include cstring.i +%include std_string.i + +%{ +/* Include files needed to build the wrapper code */ +using namespace std; + +#include +#include +#include +%} + +/* Pull in the functions and types to be exported by swig */ + +%include "dtn_types.h" +%include "dtn_errno.h" +%include "dtn_api_wrap.cc"