diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2007-07-03 08:04:49 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2007-07-03 08:04:49 +0000 |
commit | 661486e124124116a9854070325391805e52e901 (patch) | |
tree | b9f1d3e9972d2c2a9e19232c51f56f4c6a598cd9 | |
parent | 68eb0aebb8bccd3f151170f2a4430da89254cf24 (diff) | |
download | lasso-661486e124124116a9854070325391805e52e901.tar.gz lasso-661486e124124116a9854070325391805e52e901.tar.xz lasso-661486e124124116a9854070325391805e52e901.zip |
hack around swig not declaring functions by declaring it ourself here,
but it may break in a future swig version, this is just to get a clean
build without any warning of the Python binding with SWIG 1.3.31...
-rw-r--r-- | swig/Lasso.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i index a12bacbb..88e8a687 100644 --- a/swig/Lasso.i +++ b/swig/Lasso.i @@ -134,6 +134,12 @@ #ifdef SWIGPYTHON %typemap(in,parse="z") char * ""; +%{ +/* hack around swig not declaring functions by declaring it ourself here, + * but it may break in a future swig version, this is just to get a clean + * build without any warning of the Python binding with SWIG 1.3.31... */ +SWIGEXPORT void init_lasso(void); +%} #endif |