├── .travis.yml ├── ANNOUNCE ├── CCache ├── COPYING ├── Makefile.in ├── README ├── README.swig ├── args.c ├── ccache.c ├── ccache.h ├── ccache.yo ├── ccache_swig_config.h.in ├── cleanup.c ├── configure.ac ├── debian │ ├── NEWS │ ├── README.Debian │ ├── changelog │ ├── compat │ ├── control │ ├── copyright │ ├── dirs │ ├── docs │ ├── examples │ ├── patches │ │ ├── 01_no_home.diff │ │ ├── 02_ccache-compressed.diff │ │ ├── 03_long_options.diff │ │ ├── 04_ignore_profile.diff │ │ ├── 05_nfs_fix.diff │ │ ├── 06_md.diff │ │ ├── 07_cachedirtag.diff │ │ ├── 08_manpage_hyphens.diff │ │ ├── 09_respect_ldflags.diff │ │ ├── 10_lru_cleanup.diff │ │ ├── 11_utimes.diff │ │ ├── 12_cachesize_permissions.diff │ │ ├── 13_html_links.diff │ │ ├── 14_hardlink_doc.diff │ │ └── CREDITS │ ├── rules │ ├── update-ccache │ └── watch ├── execute.c ├── hash.c ├── install-sh ├── mdfour.c ├── mdfour.h ├── packaging │ ├── README │ └── ccache.spec ├── snprintf.c ├── stats.c ├── test.sh ├── unify.c ├── util.c └── web │ └── index.html ├── CHANGES ├── CHANGES.current ├── COPYRIGHT ├── Doc ├── Devel │ ├── cmdopt.html │ ├── cpp11.html │ ├── engineering.html │ ├── file.html │ ├── index.html │ ├── internals.html │ ├── migrate.txt │ ├── parm.html │ ├── runtime.txt │ ├── scanner.html │ ├── tree.html │ └── wrapobj.html ├── Manual │ ├── Allegrocl.html │ ├── Android.html │ ├── Arguments.html │ ├── CCache.html │ ├── CPlusPlus11.html │ ├── CSharp.html │ ├── Chicken.html │ ├── Contents.html │ ├── Contract.html │ ├── Customization.html │ ├── D.html │ ├── Extending.html │ ├── Go.html │ ├── Guile.html │ ├── Introduction.html │ ├── Java.html │ ├── Javascript.html │ ├── Library.html │ ├── Lisp.html │ ├── Lua.html │ ├── Makefile │ ├── Modula3.html │ ├── Modules.html │ ├── Mzscheme.html │ ├── Ocaml.html │ ├── Octave.html │ ├── Perl5.html │ ├── Php.html │ ├── Pike.html │ ├── Preface.html │ ├── Preprocessor.html │ ├── Python.html │ ├── R.html │ ├── README │ ├── Ruby.html │ ├── SWIG.html │ ├── SWIGPlus.html │ ├── Scilab.html │ ├── Scripting.html │ ├── Sections.html │ ├── Tcl.html │ ├── Typemaps.html │ ├── Varargs.html │ ├── Warnings.html │ ├── Windows.html │ ├── android-class.png │ ├── android-simple.png │ ├── ch2.1.png │ ├── chapters │ ├── fixstyle.py │ ├── index.html │ ├── linkchecker.config │ ├── makechap.py │ ├── maketoc.py │ ├── style.css │ └── swig16.png └── README ├── Examples ├── Makefile.in ├── README ├── android │ ├── check.list │ ├── class │ │ ├── AndroidManifest.xml │ │ ├── Makefile │ │ ├── ant.properties │ │ ├── build.xml │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── example.cpp │ │ │ ├── example.h │ │ │ └── example.i │ │ ├── local.properties │ │ ├── proguard.cfg │ │ ├── project.properties │ │ ├── res │ │ │ ├── layout │ │ │ │ └── main.xml │ │ │ └── values │ │ │ │ └── strings.xml │ │ └── src │ │ │ └── org │ │ │ └── swig │ │ │ └── classexample │ │ │ └── SwigClass.java │ ├── extend │ │ ├── AndroidManifest.xml │ │ ├── Makefile │ │ ├── ant.properties │ │ ├── build.xml │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── example.cpp │ │ │ ├── example.h │ │ │ └── example.i │ │ ├── local.properties │ │ ├── proguard.cfg │ │ ├── project.properties │ │ ├── res │ │ │ ├── layout │ │ │ │ └── main.xml │ │ │ └── values │ │ │ │ └── strings.xml │ │ └── src │ │ │ └── org │ │ │ └── swig │ │ │ └── extendexample │ │ │ └── SwigExtend.java │ └── simple │ │ ├── AndroidManifest.xml │ │ ├── Makefile │ │ ├── ant.properties │ │ ├── build.xml │ │ ├── jni │ │ ├── Android.mk │ │ ├── example.c │ │ └── example.i │ │ ├── local.properties │ │ ├── proguard.cfg │ │ ├── project.properties │ │ ├── res │ │ ├── layout │ │ │ └── main.xml │ │ └── values │ │ │ └── strings.xml │ │ └── src │ │ └── org │ │ └── swig │ │ └── simple │ │ └── SwigSimple.java ├── chicken │ ├── README │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── runme-lowlevel.scm │ │ └── runme-tinyclos.scm │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.scm │ ├── egg │ │ ├── Makefile │ │ ├── README │ │ ├── mod1.i │ │ ├── mod2.i │ │ ├── multi.setup │ │ ├── multi_init.scm │ │ ├── single.i │ │ ├── single.setup │ │ └── test.scm │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ ├── overload │ │ ├── Makefile │ │ ├── README │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.scm │ └── simple │ │ ├── Makefile │ │ ├── README │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm ├── contract │ ├── simple_c │ │ ├── example.c │ │ ├── example.i │ │ ├── runme1.py │ │ └── runme2.py │ └── simple_cxx │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── runme1.py │ │ ├── runme2.py │ │ └── runme3.py ├── csharp │ ├── arrays │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── callback │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── enum │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── extend │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── funcptr │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── nested │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── reference │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── simple │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.c │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ ├── template │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs │ └── variables │ │ ├── Makefile │ │ ├── example-cs.csproj │ │ ├── example-vc.vcproj │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── example.sln │ │ └── runme.cs ├── d │ ├── callback │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ ├── example.cxx │ │ ├── example.h │ │ └── example.i │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ ├── example.cxx │ │ ├── example.h │ │ └── example.i │ ├── constants │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ └── example.i │ ├── enum │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ ├── example.cxx │ │ ├── example.h │ │ └── example.i │ ├── example.mk.in │ ├── extend │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ ├── example.cxx │ │ ├── example.h │ │ └── example.i │ ├── funcptr │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ ├── example.c │ │ ├── example.h │ │ └── example.i │ ├── simple │ │ ├── Makefile │ │ ├── d1 │ │ │ └── runme.d │ │ ├── d2 │ │ │ └── runme.d │ │ ├── example.c │ │ └── example.i │ └── variables │ │ ├── Makefile │ │ ├── d1 │ │ └── runme.d │ │ ├── d2 │ │ └── runme.d │ │ ├── example.c │ │ ├── example.h │ │ └── example.i ├── go │ ├── callback │ │ ├── Makefile │ │ ├── callback.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── gocallback.go │ │ ├── index.html │ │ └── runme.go │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── class.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.go │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.go │ ├── director │ │ ├── Makefile │ │ ├── director.go │ │ ├── director.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.go │ ├── enum │ │ ├── Makefile │ │ ├── enum.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.go │ ├── extend │ │ ├── Makefile │ │ ├── ceo.go │ │ ├── example.h │ │ ├── example.i │ │ ├── extend.cxx │ │ ├── index.html │ │ └── runme.go │ ├── funcptr │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ ├── funcptr.c │ │ ├── index.html │ │ └── runme.go │ ├── index.html │ ├── multimap │ │ ├── Makefile │ │ ├── example.i │ │ ├── multimap.c │ │ └── runme.go │ ├── pointer │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ ├── pointer.c │ │ └── runme.go │ ├── reference │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ ├── reference.cxx │ │ └── runme.go │ ├── simple │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ ├── runme.go │ │ └── simple.c │ ├── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.go │ └── variables │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ ├── runme.go │ │ └── variables.c ├── guile │ ├── README │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.scm │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.scm │ ├── matrix │ │ ├── Makefile │ │ ├── README │ │ ├── example.i │ │ ├── matrix.c │ │ ├── matrix.i │ │ ├── runme.scm │ │ ├── vector.c │ │ ├── vector.h │ │ └── vector.i │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ ├── multivalue │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ ├── port │ │ ├── Makefile │ │ ├── README │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ ├── simple │ │ ├── Makefile │ │ ├── README │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ └── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.scm ├── index.html ├── java │ ├── callback │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── extend │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── index.html │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.java │ ├── native │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── nested │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ └── runme.java │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ ├── typemap │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.java ├── javascript │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── constant │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── enum │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── example.mk │ ├── exception │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── functor │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── nspace │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── operator │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── overload │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── pointer │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── reference │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── simple │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ ├── template │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js │ └── variables │ │ ├── Makefile │ │ ├── binding.gyp.in │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── example.js │ │ └── runme.js ├── lua │ ├── arrays │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.lua │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.lua │ ├── dual │ │ ├── Makefile │ │ ├── dual.cpp │ │ ├── example.i │ │ └── example2.i │ ├── embed │ │ ├── Makefile │ │ ├── embed.c │ │ ├── example.c │ │ ├── example.i │ │ └── runme.lua │ ├── embed2 │ │ ├── Makefile │ │ ├── embed2.c │ │ ├── example.c │ │ ├── example.i │ │ └── runme.lua │ ├── embed3 │ │ ├── Makefile │ │ ├── embed3.cpp │ │ ├── example.cpp │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua │ ├── exception │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua │ ├── funcptr3 │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua │ ├── functest │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.lua │ ├── functor │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.lua │ ├── import.lua │ ├── import │ │ ├── Makefile │ │ ├── README │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.h │ │ ├── base.i │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.lua │ │ ├── spam.h │ │ └── spam.i │ ├── lua.c │ ├── nspace │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua │ ├── owner │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.lua │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.lua │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.lua ├── matlab │ ├── check.list │ ├── class │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.m │ ├── contract │ │ ├── example.c │ │ ├── example.i │ │ └── runme.m │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── funcptr │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── funcptr2 │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── modules │ │ ├── base.h │ │ ├── base_module.i │ │ └── derived_module.i │ ├── reference │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── simple │ │ ├── example.c │ │ ├── example.i │ │ └── runme.m │ ├── template │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ └── variables │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m ├── modula3 │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── swig.tmpl │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ └── example.i │ ├── exception │ │ ├── Makefile │ │ ├── example.h │ │ └── example.i │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ └── example.i │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ └── example.i │ └── typemap │ │ ├── Makefile │ │ └── example.i ├── mzscheme │ ├── check.list │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ ├── simple │ │ ├── Makefile │ │ ├── README │ │ ├── example.c │ │ ├── example.i │ │ └── runme.scm │ └── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.scm ├── ocaml │ ├── argout_ref │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── example_prog.ml │ ├── check.list │ ├── contract │ │ ├── Makefile │ │ ├── example.i │ │ └── example_prog.ml │ ├── scoped_enum │ │ ├── Makefile │ │ ├── README │ │ ├── example.i │ │ ├── example_prog.ml │ │ └── foo.h │ ├── shapes │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── example_prog.ml │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── example_prog.ml │ │ └── index.html │ ├── std_string │ │ ├── Makefile │ │ ├── README │ │ ├── example.h │ │ ├── example.i │ │ └── runme.ml │ ├── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.ml │ ├── stl │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.ml │ ├── string_from_ptr │ │ ├── Makefile │ │ ├── example_prog.ml │ │ └── foolib.i │ └── strings_test │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.ml ├── octave │ ├── callback │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.m │ ├── contract │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.m │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── example.mk │ ├── extend │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── funcptr2 │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── functor │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.m │ ├── module_load │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── operator │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.m │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.m │ ├── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.m ├── perl5 │ ├── callback │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── constants2 │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.pl │ ├── extend │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── import │ │ ├── Makefile │ │ ├── README │ │ ├── bar.dsp │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.dsp │ │ ├── base.h │ │ ├── base.i │ │ ├── example.dsw │ │ ├── foo.dsp │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.pl │ │ ├── spam.dsp │ │ ├── spam.h │ │ └── spam.i │ ├── index.html │ ├── inline │ │ ├── Makefile │ │ ├── README │ │ └── runme.pl │ ├── java │ │ ├── Example.java │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.pl │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.pl │ ├── multiple_inheritance │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.pl │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── value │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ ├── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.pl │ └── xmlstring │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── runme.pl │ │ └── xmlstring.i ├── php │ ├── callback │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.php │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.php │ ├── cpointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.php │ ├── disown │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── extend │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.php │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── overloading │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.php │ ├── pragmas │ │ ├── Makefile │ │ ├── example.i │ │ ├── include.php │ │ └── runme.php │ ├── proxy │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.php │ ├── sync │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ ├── value │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.php ├── pike │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.pike │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.pike │ ├── enum │ │ ├── Makefile │ │ ├── README │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.pike │ ├── overload │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.pike │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.pike │ └── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.pike ├── python │ ├── callback │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── contract │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.py │ ├── docstrings │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── exception │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── exceptproxy │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── extend │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── funcptr2 │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── functor │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.py │ ├── import │ │ ├── Makefile │ │ ├── README │ │ ├── bar.dsp │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.dsp │ │ ├── base.h │ │ ├── base.i │ │ ├── example.dsw │ │ ├── foo.dsp │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.py │ │ ├── spam.dsp │ │ ├── spam.h │ │ └── spam.i │ ├── import_packages │ │ ├── Makefile │ │ ├── README │ │ ├── from_init1 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── py2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ ├── py3 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── from_init2 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── py2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ ├── py3 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── from_init3 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── py2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── pkg4 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ ├── py3 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── pkg4 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── namespace_pkg │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── nonpkg.py │ │ │ ├── normal.py │ │ │ ├── nstest.py │ │ │ ├── robin.i │ │ │ ├── runme.py │ │ │ ├── split.py │ │ │ └── zipsplit.py │ │ ├── relativeimport1 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── py2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ ├── py3 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── relativeimport2 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── py2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── pkg4 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ ├── py3 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── pkg4 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── relativeimport3 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── py2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ ├── py3 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bar.hpp │ │ │ │ │ ├── bar.i │ │ │ │ │ └── pkg3 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── same_modnames1 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── pkg1 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ ├── foo.hpp │ │ │ │ └── foo.i │ │ │ ├── pkg2 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ ├── foo.hpp │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ ├── same_modnames2 │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── pkg1 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ ├── foo.hpp │ │ │ │ ├── foo.i │ │ │ │ └── pkg2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── foo.hpp │ │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ └── split_modules │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── vanilla │ │ │ ├── Makefile │ │ │ ├── pkg1 │ │ │ │ ├── Makefile │ │ │ │ ├── __init__.py │ │ │ │ └── foo.i │ │ │ └── runme.py │ │ │ └── vanilla_split │ │ │ ├── Makefile │ │ │ ├── foo.i │ │ │ ├── pkg1 │ │ │ └── __init__.py │ │ │ └── runme.py │ ├── import_template │ │ ├── Makefile │ │ ├── README │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.h │ │ ├── base.i │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.py │ │ ├── spam.h │ │ └── spam.i │ ├── index.html │ ├── java │ │ ├── Example.java │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.py │ ├── libffi │ │ ├── Makefile │ │ └── example.i │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.py │ ├── operator │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── performance │ │ ├── Makefile │ │ ├── constructor │ │ ├── func │ │ │ ├── Makefile │ │ │ ├── Simple.i │ │ │ └── runme.py │ │ ├── harness.py │ │ ├── hierarchy │ │ │ ├── Makefile │ │ │ ├── Simple.i │ │ │ └── runme.py │ │ ├── hierarchy_operator │ │ │ ├── Makefile │ │ │ ├── Simple.i │ │ │ └── runme.py │ │ └── operator │ │ │ ├── Makefile │ │ │ ├── Simple.i │ │ │ └── runme.py │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py │ ├── smartptr │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── runme.py │ │ └── smartptr.h │ ├── std_map │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.py │ ├── varargs │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.py │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.py ├── r │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ └── runme.R │ └── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.R ├── ruby │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── exception_class │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── free_function │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── funcptr2 │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── functor │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.rb │ ├── hashargs │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.rb │ ├── import │ │ ├── Makefile │ │ ├── README │ │ ├── bar.dsp │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.dsp │ │ ├── base.h │ │ ├── base.i │ │ ├── example.dsw │ │ ├── foo.dsp │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.rb │ │ ├── spam.dsp │ │ ├── spam.h │ │ └── spam.i │ ├── import_template │ │ ├── Makefile │ │ ├── README │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.h │ │ ├── base.i │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.rb │ │ ├── spam.h │ │ └── spam.i │ ├── index.html │ ├── java │ │ ├── Example.java │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.rb │ ├── mark_function │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.rb │ ├── operator │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── overloading │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ ├── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.rb │ ├── value │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.rb ├── s-exp │ └── uffi.lisp ├── scilab │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.sci │ ├── contract │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.sci │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci │ ├── matrix │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.sci │ ├── matrix2 │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── main.c │ │ └── runme.sci │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.sci │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ └── runme.sci │ ├── std_list │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci │ ├── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci │ ├── struct │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.sci │ ├── template │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ └── runme.sci ├── tcl │ ├── check.list │ ├── class │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.dsp │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ ├── runme.tcl │ │ └── runme2.tcl │ ├── constants │ │ ├── Makefile │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ ├── contract │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.tcl │ ├── enum │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ ├── funcptr │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ ├── import │ │ ├── Makefile │ │ ├── README │ │ ├── bar.dsp │ │ ├── bar.h │ │ ├── bar.i │ │ ├── base.dsp │ │ ├── base.h │ │ ├── base.i │ │ ├── example.dsw │ │ ├── foo.dsp │ │ ├── foo.h │ │ ├── foo.i │ │ ├── runme.tcl │ │ ├── spam.dsp │ │ ├── spam.h │ │ └── spam.i │ ├── index.html │ ├── java │ │ ├── Example.java │ │ ├── Makefile │ │ ├── example.i │ │ └── runme.tcl │ ├── multimap │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ └── runme.tcl │ ├── operator │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.tcl │ ├── pointer │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ ├── reference │ │ ├── Makefile │ │ ├── example.cxx │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ ├── simple │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.dsp │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ ├── std_vector │ │ ├── Makefile │ │ ├── example.h │ │ ├── example.i │ │ └── runme.tcl │ ├── value │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl │ └── variables │ │ ├── Makefile │ │ ├── example.c │ │ ├── example.h │ │ ├── example.i │ │ ├── index.html │ │ └── runme.tcl ├── test-suite │ ├── README │ ├── abstract_access.i │ ├── abstract_inherit.i │ ├── abstract_inherit_ok.i │ ├── abstract_signature.i │ ├── abstract_typedef.i │ ├── abstract_typedef2.i │ ├── abstract_virtual.i │ ├── access_change.i │ ├── add_link.i │ ├── aggregate.i │ ├── allegrocl │ │ └── Makefile.in │ ├── allowexcept.i │ ├── allprotected.i │ ├── allprotected_not.i │ ├── anonymous_bitfield.i │ ├── apply_signed_char.i │ ├── apply_strings.i │ ├── argcargvtest.i │ ├── argout.i │ ├── array_member.i │ ├── array_typedef_memberin.i │ ├── arrayref.i │ ├── arrays.i │ ├── arrays_dimensionless.i │ ├── arrays_global.i │ ├── arrays_global_twodim.i │ ├── arrays_scope.i │ ├── autodoc.i │ ├── bloody_hell.i │ ├── bom_utf8.i │ ├── bools.i │ ├── c_delete.i │ ├── c_delete_function.i │ ├── callback.i │ ├── cast_operator.i │ ├── casts.i │ ├── catches.i │ ├── cffi │ │ └── Makefile.in │ ├── char_binary.i │ ├── char_constant.i │ ├── char_strings.i │ ├── chartest.i │ ├── chicken │ │ ├── Makefile.in │ │ ├── README │ │ ├── casts_runme.ss │ │ ├── char_constant_runme.ss │ │ ├── chicken_ext_test_external.cxx │ │ ├── chicken_ext_test_runme.ss │ │ ├── class_ignore_runme.ss │ │ ├── clientdata_prop_runme_proxy.ss │ │ ├── constover_runme.ss │ │ ├── contract_runme.ss │ │ ├── cpp_basic_runme_proxy.ss │ │ ├── cpp_enum_runme.ss │ │ ├── cpp_namespace_runme.ss │ │ ├── dynamic_cast_runme.ss │ │ ├── global_vars_runme.ss │ │ ├── global_vars_runme_proxy.ss │ │ ├── import_nomodule_runme.ss │ │ ├── imports_runme.ss │ │ ├── inherit_missing_runme.ss │ │ ├── li_std_string_runme.ss │ │ ├── li_std_string_runme_proxy.ss │ │ ├── li_typemaps_runme.ss │ │ ├── li_typemaps_runme_proxy.ss │ │ ├── list_vector_runme.ss │ │ ├── member_pointer_runme.ss │ │ ├── multiple_inheritance_runme_proxy.ss │ │ ├── multivalue_runme.ss │ │ ├── name_runme.ss │ │ ├── newobject1_runme_proxy.ss │ │ ├── newobject2_runme.ss │ │ ├── newobject2_runme_proxy.ss │ │ ├── overload_complicated_runme.ss │ │ ├── overload_copy_runme.ss │ │ ├── overload_copy_runme_proxy.ss │ │ ├── overload_extend_c_runme.ss │ │ ├── overload_extend_runme.ss │ │ ├── overload_extend_runme_proxy.ss │ │ ├── overload_simple_runme.ss │ │ ├── overload_simple_runme_proxy.ss │ │ ├── overload_subtype_runme.ss │ │ ├── overload_subtype_runme_proxy.ss │ │ ├── pointer_in_out_runme.ss │ │ ├── reference_global_vars_runme.ss │ │ ├── testsuite.ss │ │ ├── throw_exception_runme.ss │ │ ├── typedef_inherit_runme.ss │ │ ├── typename_runme.ss │ │ ├── unions_runme.ss │ │ └── unions_runme_proxy.ss │ ├── chicken_ext_test.i │ ├── class_forward.i │ ├── class_ignore.i │ ├── class_scope_weird.i │ ├── clientdata_prop.list │ ├── clientdata_prop_a.h │ ├── clientdata_prop_a.i │ ├── clientdata_prop_b.h │ ├── clientdata_prop_b.i │ ├── clisp │ │ └── Makefile.in │ ├── common.mk │ ├── compactdefaultargs.i │ ├── complextest.i │ ├── const_const.i │ ├── const_const_2.i │ ├── constant_directive.i │ ├── constant_expr.i │ ├── constant_pointers.i │ ├── constants.i │ ├── constover.i │ ├── constructor_copy.i │ ├── constructor_exception.i │ ├── constructor_explicit.i │ ├── constructor_ignore.i │ ├── constructor_rename.i │ ├── constructor_value.i │ ├── contract.i │ ├── conversion.i │ ├── conversion_namespace.i │ ├── conversion_ns_template.i │ ├── conversion_operators.i │ ├── cplusplus_throw.i │ ├── cpp11_alignment.i │ ├── cpp11_alternate_function_syntax.i │ ├── cpp11_constexpr.i │ ├── cpp11_decltype.i │ ├── cpp11_default_delete.i │ ├── cpp11_delegating_constructors.i │ ├── cpp11_director_enums.i │ ├── cpp11_explicit_conversion_operators.i │ ├── cpp11_final_override.i │ ├── cpp11_function_objects.i │ ├── cpp11_hash_tables.i │ ├── cpp11_inheriting_constructors.i │ ├── cpp11_initializer_list.i │ ├── cpp11_initializer_list_extend.i │ ├── cpp11_lambda_functions.i │ ├── cpp11_li_std_array.i │ ├── cpp11_noexcept.i │ ├── cpp11_null_pointer_constant.i │ ├── cpp11_raw_string_literals.i │ ├── cpp11_reference_wrapper.i │ ├── cpp11_result_of.i │ ├── cpp11_rvalue_reference.i │ ├── cpp11_rvalue_reference2.i │ ├── cpp11_rvalue_reference3.i │ ├── cpp11_sizeof_object.i │ ├── cpp11_static_assert.i │ ├── cpp11_strongly_typed_enumerations.i │ ├── cpp11_strongly_typed_enumerations_simple.i │ ├── cpp11_template_double_brackets.i │ ├── cpp11_template_explicit.i │ ├── cpp11_template_typedefs.i │ ├── cpp11_thread_local.i │ ├── cpp11_type_aliasing.i │ ├── cpp11_type_traits.i │ ├── cpp11_uniform_initialization.i │ ├── cpp11_unrestricted_unions.i │ ├── cpp11_userdefined_literals.i │ ├── cpp11_variadic_templates.i │ ├── cpp_basic.i │ ├── cpp_broken.i │ ├── cpp_enum.i │ ├── cpp_namespace.i │ ├── cpp_nodefault.i │ ├── cpp_static.i │ ├── cpp_typedef.i │ ├── csharp │ │ ├── Makefile.in │ │ ├── README │ │ ├── aggregate_runme.cs │ │ ├── allprotected_runme.cs │ │ ├── apply_strings_runme.cs │ │ ├── bools_runme.cs │ │ ├── catches_runme.cs │ │ ├── char_strings_runme.cs │ │ ├── constover_runme.cs │ │ ├── cpp11_strongly_typed_enumerations_runme.cs │ │ ├── csharp_attributes_runme.cs │ │ ├── csharp_exceptions_runme.cs │ │ ├── csharp_lib_arrays_runme.cs │ │ ├── csharp_prepost_runme.cs │ │ ├── csharp_typemaps_runme.cs │ │ ├── default_args_runme.cs │ │ ├── default_constructor_runme.cs │ │ ├── director_alternating_runme.cs │ │ ├── director_basic_runme.cs │ │ ├── director_classes_runme.cs │ │ ├── director_classic_runme.cs │ │ ├── director_ignore_runme.cs │ │ ├── director_nspace_runme.cs │ │ ├── director_pass_by_value_runme.cs │ │ ├── director_primitives_runme.cs │ │ ├── director_protected_runme.cs │ │ ├── director_smartptr_runme.cs │ │ ├── director_string_runme.cs │ │ ├── enum_forward_runme.cs │ │ ├── enum_thorough_runme.cs │ │ ├── enum_thorough_simple_runme.cs │ │ ├── enum_thorough_typesafe_runme.cs │ │ ├── exception_order_runme.cs │ │ ├── friends_runme.cs │ │ ├── imports_runme.cs │ │ ├── inherit_target_language_runme.cs │ │ ├── intermediary_classname_runme.cs │ │ ├── li_attribute_runme.cs │ │ ├── li_boost_shared_ptr_bits_runme.cs │ │ ├── li_boost_shared_ptr_runme.cs │ │ ├── li_std_auto_ptr_runme.cs │ │ ├── li_std_combinations_runme.cs │ │ ├── li_std_except_runme.cs │ │ ├── li_std_map_runme.cs │ │ ├── li_std_string_runme.cs │ │ ├── li_std_vector_enum_runme.cs │ │ ├── li_std_vector_runme.cs │ │ ├── li_std_wstring_runme.cs │ │ ├── li_swigtype_inout_runme.cs │ │ ├── li_typemaps_runme.cs │ │ ├── long_long_runme.cs │ │ ├── member_pointer_runme.cs │ │ ├── multiple_inheritance_abstract_runme.cs │ │ ├── multiple_inheritance_interfaces_runme.cs │ │ ├── multiple_inheritance_nspace_runme.cs │ │ ├── multiple_inheritance_shared_ptr_runme.cs │ │ ├── nested_class_runme.cs │ │ ├── nested_directors_runme.cs │ │ ├── nested_structs_runme.cs │ │ ├── nested_workaround_runme.cs │ │ ├── nspace_extend_runme.cs │ │ ├── nspace_runme.cs │ │ ├── operator_overload_runme.cs │ │ ├── overload_complicated_runme.cs │ │ ├── overload_template_runme.cs │ │ ├── pointer_reference_runme.cs │ │ ├── preproc_constants_c_runme.cs │ │ ├── preproc_constants_runme.cs │ │ ├── rename_pcre_encoder_runme.cs │ │ ├── rename_pcre_enum_runme.cs │ │ ├── rename_simple_runme.cs │ │ ├── sizet_runme.cs │ │ ├── sneaky1_runme.cs │ │ ├── special_variable_attributes_runme.cs │ │ ├── special_variable_macros_runme.cs │ │ ├── template_nested_runme.cs │ │ ├── threads_runme.cs │ │ ├── throw_exception_runme.cs │ │ ├── typemap_namespace_runme.cs │ │ ├── typemap_out_optimal_runme.cs │ │ ├── varargs_runme.cs │ │ └── virtual_poly_runme.cs │ ├── csharp_attributes.i │ ├── csharp_exceptions.i │ ├── csharp_features.i │ ├── csharp_lib_arrays.i │ ├── csharp_namespace_system_collision.i │ ├── csharp_prepost.i │ ├── csharp_swig2_compatibility.i │ ├── csharp_typemaps.i │ ├── curiously_recurring_template_pattern.i │ ├── d │ │ ├── Makefile.in │ │ ├── README │ │ ├── aggregate_runme.1.d │ │ ├── aggregate_runme.2.d │ │ ├── allprotected_runme.1.d │ │ ├── allprotected_runme.2.d │ │ ├── apply_strings_runme.1.d │ │ ├── apply_strings_runme.2.d │ │ ├── bools_runme.1.d │ │ ├── bools_runme.2.d │ │ ├── catches_runme.1.d │ │ ├── catches_runme.2.d │ │ ├── char_strings_runme.1.d │ │ ├── char_strings_runme.2.d │ │ ├── constover_runme.1.d │ │ ├── constover_runme.2.d │ │ ├── d_nativepointers_runme.1.d │ │ ├── d_nativepointers_runme.2.d │ │ ├── default_args_runme.1.d │ │ ├── default_args_runme.2.d │ │ ├── default_constructor_runme.1.d │ │ ├── default_constructor_runme.2.d │ │ ├── director_alternating_runme.1.d │ │ ├── director_alternating_runme.2.d │ │ ├── director_basic_runme.1.d │ │ ├── director_basic_runme.2.d │ │ ├── director_classes_runme.1.d │ │ ├── director_classes_runme.2.d │ │ ├── director_classic_runme.1.d │ │ ├── director_classic_runme.2.d │ │ ├── director_ignore_runme.1.d │ │ ├── director_ignore_runme.2.d │ │ ├── director_primitives_runme.1.d │ │ ├── director_primitives_runme.2.d │ │ ├── director_protected_runme.1.d │ │ ├── director_protected_runme.2.d │ │ ├── director_string_runme.1.d │ │ ├── director_string_runme.2.d │ │ ├── enum_thorough_runme.1.d │ │ ├── enum_thorough_runme.2.d │ │ ├── inherit_target_language_runme.1.d │ │ ├── inherit_target_language_runme.2.d │ │ ├── li_attribute_runme.1.d │ │ ├── li_attribute_runme.2.d │ │ ├── li_boost_shared_ptr_bits_runme.1.d │ │ ├── li_boost_shared_ptr_bits_runme.2.d │ │ ├── li_boost_shared_ptr_runme.1.d │ │ ├── li_boost_shared_ptr_runme.2.d │ │ ├── li_std_except_runme.1.d │ │ ├── li_std_except_runme.2.d │ │ ├── li_std_string_runme.1.d │ │ ├── li_std_string_runme.2.d │ │ ├── li_std_vector_runme.1.d │ │ ├── li_std_vector_runme.2.d │ │ ├── li_typemaps_runme.1.d │ │ ├── li_typemaps_runme.2.d │ │ ├── long_long_runme.1.d │ │ ├── long_long_runme.2.d │ │ ├── member_pointer_runme.1.d │ │ ├── member_pointer_runme.2.d │ │ ├── nspace_extend_runme.1.d │ │ ├── nspace_extend_runme.2.d │ │ ├── nspace_runme.1.d │ │ ├── nspace_runme.2.d │ │ ├── operator_overload_runme.1.d │ │ ├── operator_overload_runme.2.d │ │ ├── overload_complicated_runme.1.d │ │ ├── overload_complicated_runme.2.d │ │ ├── overload_template_runme.1.d │ │ ├── overload_template_runme.2.d │ │ ├── pointer_reference_runme.1.d │ │ ├── pointer_reference_runme.2.d │ │ ├── preproc_constants_c_runme.1.d │ │ ├── preproc_constants_c_runme.2.d │ │ ├── preproc_constants_runme.1.d │ │ ├── preproc_constants_runme.2.d │ │ ├── sizet_runme.1.d │ │ ├── sizet_runme.2.d │ │ ├── sneaky1_runme.1.d │ │ ├── sneaky1_runme.2.d │ │ ├── special_variable_macros_runme.1.d │ │ ├── special_variable_macros_runme.2.d │ │ ├── threads_runme.1.d │ │ ├── threads_runme.2.d │ │ ├── throw_exception_runme.1.d │ │ ├── throw_exception_runme.2.d │ │ ├── typemap_namespace_runme.1.d │ │ ├── typemap_namespace_runme.2.d │ │ ├── typemap_out_optimal_runme.1.d │ │ ├── typemap_out_optimal_runme.2.d │ │ ├── varargs_runme.1.d │ │ ├── varargs_runme.2.d │ │ ├── virtual_poly_runme.1.d │ │ └── virtual_poly_runme.2.d │ ├── d_nativepointers.i │ ├── default_arg_values.i │ ├── default_args.i │ ├── default_args_c.i │ ├── default_constructor.i │ ├── defvalue_constructor.i │ ├── derived_byvalue.i │ ├── derived_nested.i │ ├── destructor_reprotected.i │ ├── director_abstract.i │ ├── director_alternating.i │ ├── director_basic.i │ ├── director_binary_string.i │ ├── director_classes.i │ ├── director_classic.i │ ├── director_constructor.i │ ├── director_default.i │ ├── director_detect.i │ ├── director_enum.i │ ├── director_exception.i │ ├── director_extend.i │ ├── director_finalizer.i │ ├── director_frob.i │ ├── director_ignore.i │ ├── director_keywords.i │ ├── director_namespace_clash.i │ ├── director_nested.i │ ├── director_nested_class.i │ ├── director_nestedmodule.i │ ├── director_nspace.i │ ├── director_nspace_director_name_collision.i │ ├── director_overload.i │ ├── director_overload2.i │ ├── director_pass_by_value.i │ ├── director_primitives.i │ ├── director_profile.i │ ├── director_property.i │ ├── director_protected.i │ ├── director_protected_overloaded.i │ ├── director_redefined.i │ ├── director_ref.i │ ├── director_smartptr.i │ ├── director_stl.i │ ├── director_string.i │ ├── director_thread.i │ ├── director_unroll.i │ ├── director_using.i │ ├── director_wombat.i │ ├── director_wstring.i │ ├── disown.i │ ├── dynamic_cast.i │ ├── empty.i │ ├── empty_c.i │ ├── enum_forward.i │ ├── enum_ignore.i │ ├── enum_macro.i │ ├── enum_missing.i │ ├── enum_plus.i │ ├── enum_rename.i │ ├── enum_scope_template.i │ ├── enum_template.i │ ├── enum_thorough.i │ ├── enum_thorough_proper.i │ ├── enum_thorough_simple.i │ ├── enum_thorough_typesafe.i │ ├── enum_thorough_typeunsafe.i │ ├── enum_var.i │ ├── enums.i │ ├── equality.i │ ├── errors │ │ ├── Makefile.in │ │ ├── c_bad_name.i │ │ ├── c_bad_name.stderr │ │ ├── c_bad_native.i │ │ ├── c_bad_native.stderr │ │ ├── c_class.i │ │ ├── c_class.stderr │ │ ├── c_deprecated.i │ │ ├── c_deprecated.stderr │ │ ├── c_empty_char.i │ │ ├── c_empty_char.stderr │ │ ├── c_enum_badvalue.i │ │ ├── c_enum_badvalue.stderr │ │ ├── c_extra_rblock.i │ │ ├── c_extra_rblock.stderr │ │ ├── c_extra_rbrace.i │ │ ├── c_extra_rbrace.stderr │ │ ├── c_extra_unsigned.i │ │ ├── c_extra_unsigned.stderr │ │ ├── c_insert_missing.i │ │ ├── c_insert_missing.stderr │ │ ├── c_long_short.i │ │ ├── c_long_short.stderr │ │ ├── c_missing_rbrace.i │ │ ├── c_missing_rbrace.stderr │ │ ├── c_missing_semi.i │ │ ├── c_missing_semi.stderr │ │ ├── c_redefine.i │ │ ├── c_redefine.stderr │ │ ├── c_varargs_neg.i │ │ ├── c_varargs_neg.stderr │ │ ├── cpp_bad_extern.i │ │ ├── cpp_bad_extern.stderr │ │ ├── cpp_extend_destructors.i │ │ ├── cpp_extend_destructors.stderr │ │ ├── cpp_extend_redefine.i │ │ ├── cpp_extend_redefine.stderr │ │ ├── cpp_extend_undefined.i │ │ ├── cpp_extend_undefined.stderr │ │ ├── cpp_extra_brackets.i │ │ ├── cpp_extra_brackets.stderr │ │ ├── cpp_extra_brackets2.i │ │ ├── cpp_extra_brackets2.stderr │ │ ├── cpp_inherit.i │ │ ├── cpp_inherit.stderr │ │ ├── cpp_inherit_ignored.i │ │ ├── cpp_inherit_ignored.stderr │ │ ├── cpp_inline_namespace.i │ │ ├── cpp_inline_namespace.stderr │ │ ├── cpp_macro_locator.i │ │ ├── cpp_macro_locator.stderr │ │ ├── cpp_missing_rparenthesis.i │ │ ├── cpp_missing_rparenthesis.stderr │ │ ├── cpp_missing_rtemplate.i │ │ ├── cpp_missing_rtemplate.stderr │ │ ├── cpp_namespace_alias.i │ │ ├── cpp_namespace_alias.stderr │ │ ├── cpp_namespace_aliasnot.i │ │ ├── cpp_namespace_aliasnot.stderr │ │ ├── cpp_namespace_aliasundef.i │ │ ├── cpp_namespace_aliasundef.stderr │ │ ├── cpp_nested_template.i │ │ ├── cpp_nested_template.stderr │ │ ├── cpp_no_access.i │ │ ├── cpp_no_access.stderr │ │ ├── cpp_no_return_type.i │ │ ├── cpp_no_return_type.stderr │ │ ├── cpp_nobase.i │ │ ├── cpp_nobase.stderr │ │ ├── cpp_overload_const.i │ │ ├── cpp_overload_const.stderr │ │ ├── cpp_private_inherit.i │ │ ├── cpp_private_inherit.stderr │ │ ├── cpp_recursive_typedef.i │ │ ├── cpp_recursive_typedef.stderr │ │ ├── cpp_shared_ptr.i │ │ ├── cpp_shared_ptr.stderr │ │ ├── cpp_template_friend.i │ │ ├── cpp_template_friend.stderr │ │ ├── cpp_template_nargs.i │ │ ├── cpp_template_nargs.stderr │ │ ├── cpp_template_not.i │ │ ├── cpp_template_not.stderr │ │ ├── cpp_template_partial.i │ │ ├── cpp_template_partial.stderr │ │ ├── cpp_template_repeat.i │ │ ├── cpp_template_repeat.stderr │ │ ├── cpp_template_undef.i │ │ ├── cpp_template_undef.stderr │ │ ├── cpp_using_not.i │ │ ├── cpp_using_not.stderr │ │ ├── cpp_using_type_aliasing.i │ │ ├── cpp_using_type_aliasing.stderr │ │ ├── cpp_using_undef.i │ │ ├── cpp_using_undef.stderr │ │ ├── nomodule.i │ │ ├── nomodule.stderr │ │ ├── pp_badeval.i │ │ ├── pp_badeval.stderr │ │ ├── pp_constant.i │ │ ├── pp_constant.stderr │ │ ├── pp_defined.i │ │ ├── pp_defined.stderr │ │ ├── pp_deprecated.i │ │ ├── pp_deprecated.stderr │ │ ├── pp_illegal_argument.i │ │ ├── pp_illegal_argument.stderr │ │ ├── pp_macro_badchar.i │ │ ├── pp_macro_badchar.stderr │ │ ├── pp_macro_defined_unterminated.i │ │ ├── pp_macro_defined_unterminated.stderr │ │ ├── pp_macro_expansion.i │ │ ├── pp_macro_expansion.stderr │ │ ├── pp_macro_expansion_multiline.i │ │ ├── pp_macro_expansion_multiline.stderr │ │ ├── pp_macro_inline_unterminated.i │ │ ├── pp_macro_inline_unterminated.stderr │ │ ├── pp_macro_missing_expression.i │ │ ├── pp_macro_missing_expression.stderr │ │ ├── pp_macro_nargs.i │ │ ├── pp_macro_nargs.stderr │ │ ├── pp_macro_redef.i │ │ ├── pp_macro_redef.stderr │ │ ├── pp_macro_rparen.i │ │ ├── pp_macro_rparen.stderr │ │ ├── pp_macro_unexpected_tokens.i │ │ ├── pp_macro_unexpected_tokens.stderr │ │ ├── pp_macro_unterminated.i │ │ ├── pp_macro_unterminated.stderr │ │ ├── pp_misplaced_elif.i │ │ ├── pp_misplaced_elif.stderr │ │ ├── pp_misplaced_else.i │ │ ├── pp_misplaced_else.stderr │ │ ├── pp_missing_enddef.i │ │ ├── pp_missing_enddef.stderr │ │ ├── pp_missing_endif.i │ │ ├── pp_missing_endif.stderr │ │ ├── pp_missing_endoffile.i │ │ ├── pp_missing_endoffile.stderr │ │ ├── pp_missing_file.i │ │ ├── pp_missing_file.stderr │ │ ├── pp_missing_rblock.i │ │ ├── pp_missing_rblock.stderr │ │ ├── pp_pragma.i │ │ ├── pp_pragma.stderr │ │ ├── pp_unknowndirective.i │ │ ├── pp_unknowndirective.stderr │ │ ├── pp_unknowndirective2.i │ │ ├── pp_unknowndirective2.stderr │ │ ├── pp_unterm_char.i │ │ ├── pp_unterm_char.stderr │ │ ├── pp_unterm_comment.i │ │ ├── pp_unterm_comment.stderr │ │ ├── pp_unterm_string.i │ │ ├── pp_unterm_string.stderr │ │ ├── pp_unterminated_block.i │ │ ├── pp_unterminated_block.stderr │ │ ├── pp_variable_args.i │ │ ├── pp_variable_args.stderr │ │ ├── swig_apply_nargs.i │ │ ├── swig_apply_nargs.stderr │ │ ├── swig_extend.i │ │ ├── swig_extend.stderr │ │ ├── swig_fragment_missing.i │ │ ├── swig_fragment_missing.stderr │ │ ├── swig_identifier.i │ │ ├── swig_identifier.stderr │ │ ├── swig_insert_bad.i │ │ ├── swig_insert_bad.stderr │ │ ├── swig_pythoncode_bad.i │ │ ├── swig_pythoncode_bad.stderr │ │ ├── swig_pythoncode_bad2.i │ │ ├── swig_pythoncode_bad2.stderr │ │ ├── swig_pythoncode_bad3.i │ │ ├── swig_pythoncode_bad3.stderr │ │ ├── swig_typemap_copy.i │ │ ├── swig_typemap_copy.stderr │ │ ├── swig_typemap_old.i │ │ ├── swig_typemap_old.stderr │ │ ├── swig_typemap_warn.i │ │ └── swig_typemap_warn.stderr │ ├── evil_diamond.i │ ├── evil_diamond_ns.i │ ├── evil_diamond_prop.i │ ├── exception_classname.i │ ├── exception_order.i │ ├── exception_partial_info.i │ ├── expressions.i │ ├── extend.i │ ├── extend_constructor_destructor.i │ ├── extend_default.i │ ├── extend_placement.i │ ├── extend_special_variables.i │ ├── extend_template.i │ ├── extend_template_ns.i │ ├── extend_typedef_class.i │ ├── extend_variable.i │ ├── extern_c.i │ ├── extern_declaration.i │ ├── extern_namespace.i │ ├── extern_throws.i │ ├── features.i │ ├── file_test.i │ ├── fragments.i │ ├── friends.i │ ├── friends_template.i │ ├── funcptr.i │ ├── funcptr_cpp.i │ ├── function_typedef.i │ ├── fvirtual.i │ ├── global_functions.i │ ├── global_namespace.i │ ├── global_ns_arg.i │ ├── global_scope_types.i │ ├── global_vars.i │ ├── go │ │ ├── Makefile.in │ │ ├── abstract_access_runme.go │ │ ├── abstract_typedef2_runme.go │ │ ├── abstract_typedef_runme.go │ │ ├── abstract_virtual_runme.go │ │ ├── argout_runme.go │ │ ├── array_member_runme.go │ │ ├── arrays_global_runme.go │ │ ├── char_binary_runme.go │ │ ├── class_ignore_runme.go │ │ ├── class_scope_weird_runme.go │ │ ├── compactdefaultargs_runme.go │ │ ├── constover_runme.go │ │ ├── constructor_copy_runme.go │ │ ├── contract_runme.go │ │ ├── cpp11_strongly_typed_enumerations_runme.go │ │ ├── cpp_enum_runme.go │ │ ├── cpp_namespace_runme.go │ │ ├── cpp_static_runme.go │ │ ├── default_args_runme.go │ │ ├── default_constructor_runme.go │ │ ├── director_alternating_runme.go │ │ ├── director_basic_runme.go │ │ ├── director_classic_runme.go │ │ ├── director_default_runme.go │ │ ├── director_detect_runme.go │ │ ├── director_enum_runme.go │ │ ├── director_exception_runme.go │ │ ├── director_extend_runme.go │ │ ├── director_finalizer_runme.go │ │ ├── director_frob_runme.go │ │ ├── director_nested_runme.go │ │ ├── director_profile_runme.go │ │ ├── director_protected_runme.go │ │ ├── director_string_runme.go │ │ ├── director_unroll_runme.go │ │ ├── disown_runme.go │ │ ├── dynamic_cast_runme.go │ │ ├── empty_c_runme.go │ │ ├── empty_runme.go │ │ ├── enum_template_runme.go │ │ ├── enums_runme.go │ │ ├── exception_order_runme.go │ │ ├── extend_placement_runme.go │ │ ├── extend_template_ns_runme.go │ │ ├── extend_template_runme.go │ │ ├── extend_variable_runme.go │ │ ├── extern_c_runme.go │ │ ├── friends_runme.go │ │ ├── fvirtual_runme.go │ │ ├── global_ns_arg_runme.go │ │ ├── go_director_inout_runme.go │ │ ├── go_inout_runme.go │ │ ├── go_subdir_import_runme.go │ │ ├── grouping_runme.go │ │ ├── import_nomodule_runme.go │ │ ├── imports_runme.go │ │ ├── inctest_runme.go │ │ ├── inherit_member_runme.go │ │ ├── inherit_missing_runme.go │ │ ├── input_runme.go │ │ ├── keyword_rename_c_runme.go │ │ ├── keyword_rename_runme.go │ │ ├── li_attribute_runme.go │ │ ├── li_carrays_cpp_runme.go │ │ ├── li_carrays_runme.go │ │ ├── li_cdata_cpp_runme.go │ │ ├── li_cdata_runme.go │ │ ├── li_cmalloc_runme.go │ │ ├── li_cpointer_cpp_runme.go │ │ ├── li_cpointer_runme.go │ │ ├── li_std_map_runme.go │ │ ├── li_std_vector_ptr_runme.go │ │ ├── member_pointer_runme.go │ │ ├── memberin_extend_c_runme.go │ │ ├── minherit_runme.go │ │ ├── mod_runme.go │ │ ├── multi_import_runme.go │ │ ├── namespace_class_runme.go │ │ ├── namespace_typemap_runme.go │ │ ├── namespace_virtual_method_runme.go │ │ ├── naturalvar_runme.go │ │ ├── nested_workaround_runme.go │ │ ├── overload_complicated_runme.go │ │ ├── overload_copy_runme.go │ │ ├── overload_extend2_runme.go │ │ ├── overload_extend_c_runme.go │ │ ├── overload_extend_runme.go │ │ ├── overload_polymorphic_runme.go │ │ ├── overload_rename_runme.go │ │ ├── overload_simple_runme.go │ │ ├── overload_subtype_runme.go │ │ ├── overload_template_fast_runme.go │ │ ├── overload_template_runme.go │ │ ├── preproc_runme.go │ │ ├── primitive_ref_runme.go │ │ ├── profiletest_runme.go │ │ ├── refcount_runme.go │ │ ├── reference_global_vars_runme.go │ │ ├── rename_scope_runme.go │ │ ├── rename_simple_runme.go │ │ ├── rename_strip_encoder_runme.go │ │ ├── ret_by_value_runme.go │ │ ├── return_const_value_runme.go │ │ ├── smart_pointer_extend_runme.go │ │ ├── smart_pointer_member_runme.go │ │ ├── smart_pointer_multi_runme.go │ │ ├── smart_pointer_multi_typedef_runme.go │ │ ├── smart_pointer_overload_runme.go │ │ ├── smart_pointer_rename_runme.go │ │ ├── smart_pointer_simple_runme.go │ │ ├── smart_pointer_templatevariables_runme.go │ │ ├── smart_pointer_typedef_runme.go │ │ ├── sneaky1_runme.go │ │ ├── special_variable_macros_runme.go │ │ ├── static_const_member_2_runme.go │ │ ├── struct_initialization_runme.go │ │ ├── struct_rename_runme.go │ │ ├── struct_value_runme.go │ │ ├── template_default_arg_runme.go │ │ ├── template_extend1_runme.go │ │ ├── template_extend2_runme.go │ │ ├── template_inherit_runme.go │ │ ├── template_ns4_runme.go │ │ ├── template_ns_runme.go │ │ ├── template_opaque_runme.go │ │ ├── template_ref_type_runme.go │ │ ├── template_rename_runme.go │ │ ├── template_static_runme.go │ │ ├── template_tbase_template_runme.go │ │ ├── template_type_namespace_runme.go │ │ ├── template_typedef_cplx3_runme.go │ │ ├── template_typedef_cplx4_runme.go │ │ ├── threads_exception_runme.go │ │ ├── typedef_class_runme.go │ │ ├── typedef_inherit_runme.go │ │ ├── typedef_scope_runme.go │ │ ├── typemap_namespace_runme.go │ │ ├── typemap_ns_using_runme.go │ │ ├── typemap_out_optimal_runme.go │ │ ├── typename_runme.go │ │ ├── unions_runme.go │ │ ├── using1_runme.go │ │ ├── using2_runme.go │ │ ├── using_composition_runme.go │ │ ├── using_extend_runme.go │ │ ├── using_inherit_runme.go │ │ ├── using_private_runme.go │ │ ├── using_protected_runme.go │ │ ├── varargs_overload_runme.go │ │ ├── varargs_runme.go │ │ ├── virtual_derivation_runme.go │ │ ├── virtual_poly_runme.go │ │ ├── voidtest_runme.go │ │ └── wrapmacro_runme.go │ ├── go_director_inout.i │ ├── go_inout.i │ ├── go_subdir_import.list │ ├── go_subdir_import_a.i │ ├── go_subdir_import_b.i │ ├── grouping.i │ ├── guile │ │ ├── Makefile.in │ │ ├── README │ │ ├── casts_runme.scm │ │ ├── char_constant_runme.scm │ │ ├── class_ignore_runme.scm │ │ ├── constover_runme.scm │ │ ├── contract_runme.scm │ │ ├── cpp_enum_runme.scm │ │ ├── cpp_namespace_runme.scm │ │ ├── dynamic_cast_runme.scm │ │ ├── guile_ext_test_external.cxx │ │ ├── guile_ext_test_runme.scm │ │ ├── import_nomodule_runme.scm │ │ ├── imports_runme.scm │ │ ├── inherit_missing_runme.scm │ │ ├── integers_runme.scm │ │ ├── li_std_string_runme.scm │ │ ├── li_typemaps_runme.scm │ │ ├── list_vector_runme.scm │ │ ├── multivalue_runme.scm │ │ ├── name_runme.scm │ │ ├── overload_complicated_runme.scm │ │ ├── overload_copy_runme.scm │ │ ├── overload_extend_c_runme.scm │ │ ├── overload_extend_runme.scm │ │ ├── overload_simple_runme.scm │ │ ├── overload_subtype_runme.scm │ │ ├── pointer_in_out_runme.scm │ │ ├── reference_global_vars_runme.scm │ │ ├── testsuite.scm │ │ ├── throw_exception_runme.scm │ │ ├── typedef_inherit_runme.scm │ │ ├── typename_runme.scm │ │ └── unions_runme.scm │ ├── guile_ext_test.i │ ├── iadd.i │ ├── ignore_parameter.i │ ├── ignore_template_constructor.i │ ├── immutable_values.i │ ├── implicittest.i │ ├── import_nomodule.h │ ├── import_nomodule.i │ ├── import_stl.list │ ├── import_stl_a.i │ ├── import_stl_b.i │ ├── imports.list │ ├── imports_a.h │ ├── imports_a.i │ ├── imports_b.h │ ├── imports_b.i │ ├── inctest.h │ ├── inctest.i │ ├── infinity.i │ ├── inherit.i │ ├── inherit_member.i │ ├── inherit_missing.i │ ├── inherit_same_name.i │ ├── inherit_target_language.i │ ├── inherit_void_arg.i │ ├── inline_initializer.i │ ├── inout.i │ ├── inplaceadd.i │ ├── input.i │ ├── insert_directive.i │ ├── integers.i │ ├── intermediary_classname.i │ ├── java │ │ ├── Makefile.in │ │ ├── README │ │ ├── aggregate_runme.java │ │ ├── allprotected_runme.java │ │ ├── apply_signed_char_runme.java │ │ ├── apply_strings_runme.java │ │ ├── array_member_runme.java │ │ ├── arrays_global_twodim_runme.java │ │ ├── char_binary_runme.java │ │ ├── char_strings_runme.java │ │ ├── constant_directive_runme.java │ │ ├── cpp11_constexpr_runme.java │ │ ├── cpp11_lambda_functions_runme.java │ │ ├── cpp11_li_std_array_runme.java │ │ ├── cpp11_result_of_runme.java │ │ ├── cpp11_strongly_typed_enumerations_runme.java │ │ ├── cpp11_strongly_typed_enumerations_simple_runme.java │ │ ├── cpp11_thread_local_runme.java │ │ ├── cpp11_type_aliasing_runme.java │ │ ├── cpp_typedef_runme.java │ │ ├── curiously_recurring_template_pattern_runme.java │ │ ├── default_args_runme.java │ │ ├── default_constructor_runme.java │ │ ├── derived_nested_runme.java │ │ ├── director_abstract_runme.java │ │ ├── director_basic_runme.java │ │ ├── director_binary_string_runme.java │ │ ├── director_classes_runme.java │ │ ├── director_classic_runme.java │ │ ├── director_default_runme.java │ │ ├── director_enum_runme.java │ │ ├── director_exception_runme.java │ │ ├── director_frob_runme.java │ │ ├── director_ignore_runme.java │ │ ├── director_nested_class_runme.java │ │ ├── director_nspace_runme.java │ │ ├── director_pass_by_value_runme.java │ │ ├── director_primitives_runme.java │ │ ├── director_protected_runme.java │ │ ├── director_ref_runme.java │ │ ├── director_smartptr_runme.java │ │ ├── director_string_runme.java │ │ ├── director_thread_runme.java │ │ ├── director_unroll_runme.java │ │ ├── director_wombat_runme.java │ │ ├── dynamic_cast_runme.java │ │ ├── enum_forward_runme.java │ │ ├── enum_macro_runme.java │ │ ├── enum_thorough_proper_runme.java │ │ ├── enum_thorough_runme.java │ │ ├── enum_thorough_simple_runme.java │ │ ├── enum_thorough_typeunsafe_runme.java │ │ ├── extend_constructor_destructor_runme.java │ │ ├── extend_default_runme.java │ │ ├── extend_special_variables_runme.java │ │ ├── extend_typedef_class_runme.java │ │ ├── extern_declaration_runme.java │ │ ├── friends_runme.java │ │ ├── friends_template_runme.java │ │ ├── global_namespace_runme.java │ │ ├── ignore_parameter_runme.java │ │ ├── imports_runme.java │ │ ├── inctest_runme.java │ │ ├── inherit_target_language_runme.java │ │ ├── intermediary_classname_runme.java │ │ ├── java_constants_runme.java │ │ ├── java_director_assumeoverride_runme.java │ │ ├── java_director_exception_feature_nspace_runme.java │ │ ├── java_director_exception_feature_runme.java │ │ ├── java_director_ptrclass_runme.java │ │ ├── java_director_runme.java │ │ ├── java_enums_runme.java │ │ ├── java_jnitypes_runme.java │ │ ├── java_lib_arrays_dimensionless_runme.java │ │ ├── java_lib_arrays_runme.java │ │ ├── java_lib_various_runme.java │ │ ├── java_pgcpp_runme.java │ │ ├── java_pragmas_runme.java │ │ ├── java_prepost_runme.java │ │ ├── java_throws_runme.java │ │ ├── java_typemaps_proxy_runme.java │ │ ├── java_typemaps_typewrapper_runme.java │ │ ├── kwargs_feature_runme.java │ │ ├── li_boost_intrusive_ptr_runme.java │ │ ├── li_boost_shared_ptr_attribute_runme.java │ │ ├── li_boost_shared_ptr_bits_runme.java │ │ ├── li_boost_shared_ptr_runme.java │ │ ├── li_boost_shared_ptr_template_runme.java │ │ ├── li_carrays_cpp_runme.java │ │ ├── li_carrays_runme.java │ │ ├── li_cdata_cpp_runme.java │ │ ├── li_cdata_runme.java │ │ ├── li_std_auto_ptr_runme.java │ │ ├── li_std_except_runme.java │ │ ├── li_std_string_runme.java │ │ ├── li_std_vector_enum_runme.java │ │ ├── li_std_vector_runme.java │ │ ├── li_typemaps_runme.java │ │ ├── long_long_runme.java │ │ ├── member_pointer_runme.java │ │ ├── memberin_extend_runme.java │ │ ├── minherit2_runme.java │ │ ├── multiple_inheritance_abstract_runme.java │ │ ├── multiple_inheritance_interfaces_runme.java │ │ ├── multiple_inheritance_nspace_runme.java │ │ ├── multiple_inheritance_runme.java │ │ ├── multiple_inheritance_shared_ptr_runme.java │ │ ├── namespace_forward_declaration_runme.java │ │ ├── naturalvar_more_runme.java │ │ ├── naturalvar_onoff_runme.java │ │ ├── nested_class_runme.java │ │ ├── nested_extend_c_runme.java │ │ ├── nested_structs_runme.java │ │ ├── nested_template_base_runme.java │ │ ├── nested_workaround_runme.java │ │ ├── nspace_extend_runme.java │ │ ├── nspace_runme.java │ │ ├── operator_overload_runme.java │ │ ├── overload_complicated_runme.java │ │ ├── overload_template_runme.java │ │ ├── pointer_reference_runme.java │ │ ├── preproc_line_file_runme.java │ │ ├── primitive_ref_runme.java │ │ ├── profiletest_runme.java │ │ ├── rename1_runme.java │ │ ├── rename2_runme.java │ │ ├── rename3_runme.java │ │ ├── rename4_runme.java │ │ ├── rename_pcre_encoder_runme.java │ │ ├── rename_pcre_enum_runme.java │ │ ├── ret_by_value_runme.java │ │ ├── rname_runme.java │ │ ├── sizet_runme.java │ │ ├── smart_pointer_const_overload_runme.java │ │ ├── smart_pointer_ignore_runme.java │ │ ├── special_variable_macros_runme.java │ │ ├── special_variables_runme.java │ │ ├── template_classes_runme.java │ │ ├── template_default_arg_runme.java │ │ ├── template_default_class_parms_runme.java │ │ ├── template_default_class_parms_typedef_runme.java │ │ ├── template_methods_runme.java │ │ ├── template_namespace_forward_declaration_runme.java │ │ ├── template_nested_runme.java │ │ ├── template_nested_typemaps_runme.java │ │ ├── template_partial_specialization_runme.java │ │ ├── template_partial_specialization_typedef_runme.java │ │ ├── template_template_parameters_runme.java │ │ ├── template_templated_constructors_runme.java │ │ ├── template_typedef_inherit_runme.java │ │ ├── template_typedef_typedef_runme.java │ │ ├── template_using_directive_and_declaration_forward_runme.java │ │ ├── typemap_arrays_runme.java │ │ ├── typemap_namespace_runme.java │ │ ├── typemap_out_optimal_runme.java │ │ ├── unions_runme.java │ │ ├── using_directive_and_declaration_forward_runme.java │ │ ├── using_directive_and_declaration_runme.java │ │ ├── using_pointers_runme.java │ │ ├── varargs_runme.java │ │ ├── virtual_poly_runme.java │ │ └── wallkw_runme.java │ ├── java_constants.i │ ├── java_director.i │ ├── java_director_assumeoverride.i │ ├── java_director_exception_feature.i │ ├── java_director_exception_feature_nspace.i │ ├── java_director_ptrclass.i │ ├── java_enums.i │ ├── java_jnitypes.i │ ├── java_lib_arrays.i │ ├── java_lib_arrays_dimensionless.i │ ├── java_lib_various.i │ ├── java_nspacewithoutpackage.i │ ├── java_pgcpp.i │ ├── java_pragmas.i │ ├── java_prepost.i │ ├── java_throws.i │ ├── java_typemaps_proxy.i │ ├── java_typemaps_typewrapper.i │ ├── javascript │ │ ├── Makefile.in │ │ ├── abstract_access_runme.js │ │ ├── abstract_inherit_runme.js │ │ ├── abstract_typedef2_runme.js │ │ ├── abstract_typedef_runme.js │ │ ├── abstract_virtual_runme.js │ │ ├── array_member_runme.js │ │ ├── arrays_global_runme.js │ │ ├── callback_runme.js │ │ ├── char_binary_runme.js │ │ ├── char_strings_runme.js │ │ ├── class_ignore_runme.js │ │ ├── class_scope_weird_runme.js │ │ ├── complextest_runme.js │ │ ├── constover_runme.js │ │ ├── constructor_copy_runme.js │ │ ├── cpp11_strongly_typed_enumerations_runme.js │ │ ├── cpp_enum_runme.js │ │ ├── cpp_namespace_runme.js │ │ ├── cpp_static_runme.js │ │ ├── director_alternating_runme.js │ │ ├── disown_runme.js │ │ ├── dynamic_cast_runme.js │ │ ├── empty_c_runme.js │ │ ├── empty_runme.js │ │ ├── enum_template_runme.js │ │ ├── infinity_runme.js │ │ ├── namespace_virtual_method_runme.js │ │ ├── node_template │ │ │ ├── binding.gyp.in │ │ │ └── index.js.in │ │ ├── nspace_extend_runme.js │ │ ├── nspace_runme.js │ │ ├── null_pointer_runme.js │ │ ├── overload_copy_runme.js │ │ ├── preproc_include_runme.js │ │ ├── preproc_runme.js │ │ ├── rename1_runme.js │ │ ├── rename2_runme.js │ │ ├── rename3_runme.js │ │ ├── rename4_runme.js │ │ ├── rename_scope_runme.js │ │ ├── rename_simple_runme.js │ │ ├── ret_by_value_runme.js │ │ ├── string_simple_runme.js │ │ ├── struct_value_runme.js │ │ ├── template_static_runme.js │ │ ├── typedef_class_runme.js │ │ ├── typedef_inherit_runme.js │ │ ├── typedef_scope_runme.js │ │ ├── typemap_arrays_runme.js │ │ ├── typemap_delete_runme.js │ │ ├── typemap_namespace_runme.js │ │ ├── typemap_ns_using_runme.js │ │ ├── using1_runme.js │ │ ├── using2_runme.js │ │ └── varargs_runme.js │ ├── keyword_rename.i │ ├── keyword_rename_c.i │ ├── kind.i │ ├── kwargs_feature.i │ ├── langobj.i │ ├── lextype.i │ ├── li_attribute.i │ ├── li_attribute_template.i │ ├── li_boost_array.i │ ├── li_boost_intrusive_ptr.i │ ├── li_boost_shared_ptr.i │ ├── li_boost_shared_ptr_attribute.i │ ├── li_boost_shared_ptr_bits.i │ ├── li_boost_shared_ptr_template.i │ ├── li_carrays.i │ ├── li_carrays_cpp.i │ ├── li_cdata.i │ ├── li_cdata_carrays.i │ ├── li_cdata_carrays_cpp.i │ ├── li_cdata_cpp.i │ ├── li_cmalloc.i │ ├── li_constraints.i │ ├── li_cpointer.i │ ├── li_cpointer_cpp.i │ ├── li_cstring.i │ ├── li_cwstring.i │ ├── li_factory.i │ ├── li_implicit.i │ ├── li_math.i │ ├── li_reference.i │ ├── li_std_auto_ptr.i │ ├── li_std_carray.i │ ├── li_std_combinations.i │ ├── li_std_container_typemaps.i │ ├── li_std_containers_int.i │ ├── li_std_deque.i │ ├── li_std_except.i │ ├── li_std_except_as_class.i │ ├── li_std_functors.i │ ├── li_std_list.i │ ├── li_std_map.i │ ├── li_std_map_member.i │ ├── li_std_multimap.i │ ├── li_std_pair.i │ ├── li_std_pair_extra.i │ ├── li_std_pair_lang_object.i │ ├── li_std_pair_using.i │ ├── li_std_queue.i │ ├── li_std_set.i │ ├── li_std_stack.i │ ├── li_std_stream.i │ ├── li_std_string.i │ ├── li_std_string_extra.i │ ├── li_std_vector.i │ ├── li_std_vector_enum.i │ ├── li_std_vector_extra.i │ ├── li_std_vector_member_var.i │ ├── li_std_vector_ptr.i │ ├── li_std_vectora.i │ ├── li_std_wstream.i │ ├── li_std_wstring.i │ ├── li_stdint.i │ ├── li_swigtype_inout.i │ ├── li_typemaps.i │ ├── li_typemaps_apply.i │ ├── li_windows.i │ ├── list_vector.i │ ├── long_long.i │ ├── long_long_apply.i │ ├── lua │ │ ├── Makefile.in │ │ ├── abstract_access_runme.lua │ │ ├── array_member_runme.lua │ │ ├── arrays_global_runme.lua │ │ ├── char_strings_runme.lua │ │ ├── chartest_runme.lua │ │ ├── cpp11_strongly_typed_enumerations_runme.lua │ │ ├── cpp_basic_runme.lua │ │ ├── cpp_enum_runme.lua │ │ ├── cpp_namespace_runme.lua │ │ ├── cpp_nodefault_runme.lua │ │ ├── cpp_static_runme.lua │ │ ├── cpp_typedef_runme.lua │ │ ├── disown_runme.lua │ │ ├── dynamic_cast_runme.lua │ │ ├── enum_plus_runme.lua │ │ ├── enum_rename_runme.lua │ │ ├── enum_scope_template_runme.lua │ │ ├── enum_template_runme.lua │ │ ├── enums_runme.lua │ │ ├── equality_runme.lua │ │ ├── exception_order_runme.lua │ │ ├── exception_partial_info_runme.lua │ │ ├── extend_constructor_destructor_runme.lua │ │ ├── extend_placement_runme.lua │ │ ├── extend_runme.lua │ │ ├── extend_template_runme.lua │ │ ├── extend_typedef_class_runme.lua │ │ ├── extend_variable_runme.lua │ │ ├── friends_runme.lua │ │ ├── funcptr_cpp_runme.lua │ │ ├── fvirtual_runme.lua │ │ ├── global_namespace_runme.lua │ │ ├── global_vars_runme.lua │ │ ├── grouping_runme.lua │ │ ├── iadd_runme.lua │ │ ├── import.lua │ │ ├── import_nomodule_runme.lua │ │ ├── imports_runme.lua │ │ ├── inherit_missing_runme.lua │ │ ├── keyword_rename_c_runme.lua │ │ ├── keyword_rename_runme.lua │ │ ├── li_carrays_cpp_runme.lua │ │ ├── li_carrays_runme.lua │ │ ├── li_factory_runme.lua │ │ ├── li_std_except_runme.lua │ │ ├── li_std_pair_runme.lua │ │ ├── li_std_string_runme.lua │ │ ├── li_std_vector_runme.lua │ │ ├── li_typemaps_runme.lua │ │ ├── lua_inherit_getitem_runme.lua │ │ ├── lua_no_module_global_runme.lua │ │ ├── member_pointer_runme.lua │ │ ├── multi_import_runme.lua │ │ ├── nested_workaround_runme.lua │ │ ├── newobject1_runme.lua │ │ ├── newobject2_runme.lua │ │ ├── nspace_extend_runme.lua │ │ ├── nspace_runme.lua │ │ ├── operator_overload_runme.lua │ │ ├── overload_complicated_runme.lua │ │ ├── overload_simple_runme.lua │ │ ├── overload_template_fast_runme.lua │ │ ├── overload_template_runme.lua │ │ ├── pointer_reference_runme.lua │ │ ├── primitive_ref_runme.lua │ │ ├── refcount_runme.lua │ │ ├── rename_simple_runme.lua │ │ ├── ret_by_value_runme.lua │ │ ├── sizet_runme.lua │ │ ├── smart_pointer_extend_runme.lua │ │ ├── smart_pointer_inherit_runme.lua │ │ ├── smart_pointer_multi_runme.lua │ │ ├── smart_pointer_not_runme.lua │ │ ├── smart_pointer_overload_runme.lua │ │ ├── smart_pointer_rename_runme.lua │ │ ├── smart_pointer_simple_runme.lua │ │ ├── smart_pointer_templatemethods_runme.lua │ │ ├── static_const_member_2_runme.lua │ │ ├── static_const_member_runme.lua │ │ ├── template_construct_runme.lua │ │ ├── template_default_arg_runme.lua │ │ ├── template_extend1_runme.lua │ │ ├── template_extend2_runme.lua │ │ ├── template_inherit_runme.lua │ │ ├── template_static_runme.lua │ │ ├── valuewrapper_runme.lua │ │ ├── varargs_runme.lua │ │ └── voidtest_runme.lua │ ├── lua_inherit_getitem.i │ ├── lua_no_module_global.i │ ├── matlab │ │ ├── Makefile.in │ │ ├── abstract_access_runme.m │ │ ├── abstract_typedef2_runme.m │ │ ├── abstract_typedef_runme.m │ │ ├── abstract_virtual_runme.m │ │ ├── argcargvtest_runme.m │ │ ├── array_member_runme.m │ │ ├── arrays_global_runme.m │ │ ├── callback_runme.m │ │ ├── class_ignore_runme.m │ │ ├── class_scope_weird_runme.m │ │ ├── compactdefaultargs_runme.m │ │ ├── complextest_runme.m │ │ ├── constover_runme.m │ │ ├── constructor_copy_runme.m │ │ ├── contract_runme.m │ │ ├── cpp_namespace_runme.m │ │ ├── default_args_runme.m │ │ ├── director_abstract_helper.m │ │ ├── director_basic │ │ │ ├── MatClass.m │ │ │ ├── MatFoo.m │ │ │ └── MatMulti.m │ │ ├── director_classic_helper.m │ │ ├── director_default_runme.m │ │ ├── director_frob_runme.m │ │ ├── director_string_helper_get_first.m │ │ ├── director_string_helper_process_text.m │ │ ├── empty_runme.m │ │ ├── enum_template_runme.m │ │ ├── enums_runme.m │ │ ├── exception_order_helper.m │ │ ├── extend_placement_runme.m │ │ ├── extend_template_ns_runme.m │ │ ├── extend_template_runme.m │ │ ├── extend_variable_runme.m │ │ ├── file_test_runme.m │ │ ├── fvirtual_runme.m │ │ ├── global_ns_arg_runme.m │ │ ├── grouping_runme.m │ │ ├── imports_runme.m │ │ ├── inctest_runme.m │ │ ├── inherit_missing_runme.m │ │ ├── inout_runme.m │ │ ├── input_runme.m │ │ ├── li_attribute_runme.m │ │ ├── li_cpointer_runme.m │ │ ├── li_cstring_runme.m │ │ ├── li_cwstring_runme.m │ │ ├── li_factory_runme.m │ │ ├── li_std_carray_runme.m │ │ ├── li_std_pair_extra_runme.m │ │ ├── li_std_set_runme.m │ │ ├── li_std_stream_runme.m │ │ ├── li_std_string_extra_runme.m │ │ ├── li_std_vector_enum_helper.m │ │ ├── li_std_wstream_runme.m │ │ ├── li_std_wstring_runme.m │ │ ├── member_pointer_helper.m │ │ ├── mod_runme.m │ │ ├── multi_import_runme.m │ │ ├── namespace_class_runme.m │ │ ├── namespace_virtual_method_runme.m │ │ ├── naturalvar_runme.m │ │ ├── nested_structs_runme.m │ │ ├── overload_complicated_runme.m │ │ ├── overload_copy_runme.m │ │ ├── overload_extendc_runme.m │ │ ├── overload_subtype_runme.m │ │ ├── overload_template_fast_runme.m │ │ ├── preproc_constants_test_global.m │ │ ├── preproc_runme.m │ │ ├── primitive_ref_runme.m │ │ ├── profiletest_runme.m │ │ ├── refcount_runme.m │ │ ├── rename_scope_runme.m │ │ ├── ret_by_value_runme.m │ │ ├── samename_runme.m │ │ ├── sneaky1_runme.m │ │ ├── static_const_member_2_runme.m │ │ ├── std_containers_runme.m │ │ ├── struct_rename_runme.m │ │ ├── swigobject_runme.m │ │ ├── template_construct_runme.m │ │ ├── template_default_arg_runme.m │ │ ├── template_extend1_runme.m │ │ ├── template_extend2_runme.m │ │ ├── template_inherit_runme.m │ │ ├── template_matrix_runme.m │ │ ├── template_ns4_runme.m │ │ ├── template_ns_runme.m │ │ ├── template_opaque_runme.m │ │ ├── template_ref_type_runme.m │ │ ├── template_rename_runme.m │ │ ├── template_static_runme.m │ │ ├── template_tbase_template_runme.m │ │ ├── template_type_namespace_runme.m │ │ ├── template_typedef_cplx3_runme.m │ │ ├── template_typedef_cplx4_runme.m │ │ ├── template_typedef_import_runme.m │ │ ├── typedef_class_runme.m │ │ ├── typedef_inherit_runme.m │ │ ├── typedef_scope_runme.m │ │ ├── typemap_namespace_runme.m │ │ ├── typemap_ns_using_runme.m │ │ ├── typename_runme.m │ │ ├── types_directive_runme.m │ │ ├── unions_runme.m │ │ ├── using1_runme.m │ │ ├── using2_runme.m │ │ ├── using_composition_runme.m │ │ ├── using_extend_runme.m │ │ ├── using_inherit_runme.m │ │ ├── using_private_runme.m │ │ ├── using_protected_runme.m │ │ ├── varargs_runme.m │ │ ├── virtual_derivation_runme.m │ │ ├── virtual_poly_runme.m │ │ ├── voidtest_helper.m │ │ ├── voidtest_runme.m │ │ └── wrapmacro_runme.m │ ├── member_funcptr_galore.i │ ├── member_pointer.i │ ├── member_template.i │ ├── memberin1.i │ ├── memberin_extend.i │ ├── memberin_extend_c.i │ ├── minherit.i │ ├── minherit2.i │ ├── mixed_types.i │ ├── mod.h │ ├── mod.list │ ├── mod_a.i │ ├── mod_b.i │ ├── multi_import.h │ ├── multi_import.list │ ├── multi_import_a.i │ ├── multi_import_b.i │ ├── multi_import_c.i │ ├── multiple_inheritance.i │ ├── multiple_inheritance_abstract.i │ ├── multiple_inheritance_interfaces.i │ ├── multiple_inheritance_nspace.i │ ├── multiple_inheritance_shared_ptr.i │ ├── multivalue.i │ ├── mzscheme │ │ ├── Makefile.in │ │ ├── README │ │ ├── casts_runme.scm │ │ ├── char_constant_runme.scm │ │ ├── imports_runme.scm │ │ ├── integers_runme.scm │ │ ├── name_runme.scm │ │ └── unions_runme.scm │ ├── name.i │ ├── name_cxx.i │ ├── name_warnings.i │ ├── namespace_class.i │ ├── namespace_enum.i │ ├── namespace_extend.i │ ├── namespace_forward_declaration.i │ ├── namespace_nested.i │ ├── namespace_spaces.i │ ├── namespace_template.i │ ├── namespace_typedef_class.i │ ├── namespace_typemap.i │ ├── namespace_union.i │ ├── namespace_virtual_method.i │ ├── naturalvar.i │ ├── naturalvar_more.i │ ├── naturalvar_onoff.i │ ├── nested.i │ ├── nested_class.i │ ├── nested_comment.i │ ├── nested_directors.i │ ├── nested_extend_c.i │ ├── nested_ignore.i │ ├── nested_private.i │ ├── nested_scope.i │ ├── nested_structs.i │ ├── nested_template_base.i │ ├── nested_workaround.i │ ├── newobject1.i │ ├── newobject2.i │ ├── nspace.i │ ├── nspace_extend.i │ ├── null_pointer.i │ ├── ocaml │ │ ├── Makefile.in │ │ ├── README │ │ ├── class_ignore_runme.ml │ │ ├── imports_runme.ml │ │ ├── makedebugtop │ │ ├── minherit_runme.ml │ │ ├── name_runme.ml │ │ ├── newobject1_runme.ml │ │ ├── overload_copy_runme.ml │ │ ├── sneaky1_runme.ml │ │ ├── throw_exception_runme.ml │ │ ├── typedef_mptr_runme.ml │ │ ├── typename_runme.ml │ │ ├── unions_runme.ml │ │ ├── using_protected_runme.ml │ │ ├── varargs_runme.ml │ │ └── voidtest_runme.ml │ ├── octave │ │ ├── Makefile.in │ │ ├── abstract_access_runme.m │ │ ├── abstract_typedef2_runme.m │ │ ├── abstract_typedef_runme.m │ │ ├── abstract_virtual_runme.m │ │ ├── argcargvtest_runme.m │ │ ├── array_member_runme.m │ │ ├── arrays_global_runme.m │ │ ├── callback_runme.m │ │ ├── class_ignore_runme.m │ │ ├── class_scope_weird_runme.m │ │ ├── compactdefaultargs_runme.m │ │ ├── complextest_runme.m │ │ ├── constover_runme.m │ │ ├── constructor_copy_runme.m │ │ ├── contract_runme.m │ │ ├── cpp11_strongly_typed_enumerations_runme.m │ │ ├── cpp_enum_runme.m │ │ ├── cpp_namespace_runme.m │ │ ├── default_args_runme.m │ │ ├── default_constructor_runme.m │ │ ├── director_abstract_runme.m │ │ ├── director_basic_runme.m │ │ ├── director_classic_runme.m │ │ ├── director_default_runme.m │ │ ├── director_detect_runme.m │ │ ├── director_enum_runme.m │ │ ├── director_extend_runme.m │ │ ├── director_frob_runme.m │ │ ├── director_nested_runme.m │ │ ├── director_stl_runme.m │ │ ├── director_string_runme.m │ │ ├── director_unroll_runme.m │ │ ├── director_wstring_runme.m │ │ ├── dynamic_cast_runme.m │ │ ├── empty_c_runme.m │ │ ├── empty_runme.m │ │ ├── enum_template_runme.m │ │ ├── enums_runme.m │ │ ├── exception_order_runme.m │ │ ├── extend_placement_runme.m │ │ ├── extend_template_ns_runme.m │ │ ├── extend_template_runme.m │ │ ├── extend_variable_runme.m │ │ ├── file_test_runme.m │ │ ├── friends_runme.m │ │ ├── fvirtual_runme.m │ │ ├── global_ns_arg_runme.m │ │ ├── grouping_runme.m │ │ ├── iadd_runme.m │ │ ├── import_nomodule_runme.m │ │ ├── imports_runme.m │ │ ├── inctest_runme.m │ │ ├── inherit_missing_runme.m │ │ ├── inout_runme.m │ │ ├── inplaceadd_runme.m │ │ ├── input_runme.m │ │ ├── li_attribute_runme.m │ │ ├── li_boost_shared_ptr_runme.m │ │ ├── li_carrays_cpp_runme.m │ │ ├── li_carrays_runme.m │ │ ├── li_cmalloc_runme.m │ │ ├── li_cpointer_cpp_runme.m │ │ ├── li_cpointer_runme.m │ │ ├── li_cstring_runme.m │ │ ├── li_cwstring_runme.m │ │ ├── li_factory_runme.m │ │ ├── li_implicit_runme.m │ │ ├── li_std_carray_runme.m │ │ ├── li_std_pair_extra_runme.m │ │ ├── li_std_set_runme.m │ │ ├── li_std_stream_runme.m │ │ ├── li_std_string_extra_runme.m │ │ ├── li_std_vector_enum_runme.m │ │ ├── li_std_vector_runme.m │ │ ├── li_std_wstream_runme.m │ │ ├── li_std_wstring_runme.m │ │ ├── member_pointer_runme.m │ │ ├── minherit_runme.m │ │ ├── mod_runme.m │ │ ├── multi_import_runme.m │ │ ├── namespace_class_runme.m │ │ ├── namespace_typemap_runme.m │ │ ├── namespace_virtual_method_runme.m │ │ ├── naturalvar_runme.m │ │ ├── nested_structs_runme.m │ │ ├── nondynamic_runme.m │ │ ├── null_pointer_runme.m │ │ ├── octave_cell_deref_runme.m │ │ ├── octave_dim_runme.m │ │ ├── octave_empty.c │ │ ├── overload_complicated_runme.m │ │ ├── overload_copy_runme.m │ │ ├── overload_extend2_runme.m │ │ ├── overload_extend_c_runme.m │ │ ├── overload_extend_runme.m │ │ ├── overload_rename_runme.m │ │ ├── overload_simple_cast_runme.m │ │ ├── overload_simple_runme.m │ │ ├── overload_subtype_runme.m │ │ ├── overload_template_fast_runme.m │ │ ├── overload_template_runme.m │ │ ├── preproc_constants_runme.m │ │ ├── preproc_runme.m │ │ ├── primitive_ref_runme.m │ │ ├── profiletest_runme.m │ │ ├── refcount_runme.m │ │ ├── reference_global_vars_runme.m │ │ ├── rename_scope_runme.m │ │ ├── ret_by_value_runme.m │ │ ├── return_const_value_runme.m │ │ ├── samename_runme.m │ │ ├── smart_pointer_extend_runme.m │ │ ├── smart_pointer_member_runme.m │ │ ├── smart_pointer_multi_runme.m │ │ ├── smart_pointer_multi_typedef_runme.m │ │ ├── smart_pointer_not_runme.m │ │ ├── smart_pointer_overload_runme.m │ │ ├── smart_pointer_rename_runme.m │ │ ├── smart_pointer_simple_runme.m │ │ ├── smart_pointer_templatevariables_runme.m │ │ ├── smart_pointer_typedef_runme.m │ │ ├── sneaky1_runme.m │ │ ├── static_const_member_2_runme.m │ │ ├── std_containers_runme.m │ │ ├── struct_rename_runme.m │ │ ├── struct_value_runme.m │ │ ├── swigobject_runme.m │ │ ├── template_construct_runme.m │ │ ├── template_default_arg_runme.m │ │ ├── template_extend1_runme.m │ │ ├── template_extend2_runme.m │ │ ├── template_inherit_runme.m │ │ ├── template_matrix_runme.m │ │ ├── template_ns4_runme.m │ │ ├── template_ns_runme.m │ │ ├── template_opaque_runme.m │ │ ├── template_ref_type_runme.m │ │ ├── template_rename_runme.m │ │ ├── template_static_runme.m │ │ ├── template_tbase_template_runme.m │ │ ├── template_type_namespace_runme.m │ │ ├── template_typedef_cplx2_runme.m │ │ ├── template_typedef_cplx3_runme.m │ │ ├── template_typedef_cplx4_runme.m │ │ ├── template_typedef_cplx_runme.m │ │ ├── template_typedef_import_runme.m │ │ ├── template_typedef_runme.m │ │ ├── typedef_class_runme.m │ │ ├── typedef_inherit_runme.m │ │ ├── typedef_scope_runme.m │ │ ├── typemap_namespace_runme.m │ │ ├── typemap_ns_using_runme.m │ │ ├── typename_runme.m │ │ ├── types_directive_runme.m │ │ ├── unions_runme.m │ │ ├── using1_runme.m │ │ ├── using2_runme.m │ │ ├── using_composition_runme.m │ │ ├── using_extend_runme.m │ │ ├── using_inherit_runme.m │ │ ├── using_private_runme.m │ │ ├── using_protected_runme.m │ │ ├── varargs_runme.m │ │ ├── virtual_derivation_runme.m │ │ ├── virtual_poly_runme.m │ │ ├── voidtest_runme.m │ │ └── wrapmacro_runme.m │ ├── octave_cell_deref.i │ ├── octave_dim.i │ ├── operator_overload.i │ ├── operator_overload_break.i │ ├── operator_pointer_ref.i │ ├── operbool.i │ ├── ordering.i │ ├── overload_arrays.i │ ├── overload_bool.i │ ├── overload_complicated.i │ ├── overload_copy.i │ ├── overload_extend.i │ ├── overload_extend2.i │ ├── overload_extend_c.i │ ├── overload_method.i │ ├── overload_numeric.i │ ├── overload_polymorphic.i │ ├── overload_rename.i │ ├── overload_return_type.i │ ├── overload_simple.i │ ├── overload_subtype.i │ ├── overload_template.i │ ├── overload_template_fast.i │ ├── packageoption.h │ ├── packageoption.list │ ├── packageoption_a.i │ ├── packageoption_b.i │ ├── packageoption_c.i │ ├── perl5 │ │ ├── Makefile.in │ │ ├── README │ │ ├── aggregate_runme.pl │ │ ├── apply_signed_char_runme.pl │ │ ├── apply_strings_runme.pl │ │ ├── array_member_runme.pl │ │ ├── char_binary_runme.pl │ │ ├── char_strings_runme.pl │ │ ├── class_ignore_runme.pl │ │ ├── contract_runme.pl │ │ ├── cpp11_strongly_typed_enumerations_runme.pl │ │ ├── default_args_runme.pl │ │ ├── default_constructor_runme.pl │ │ ├── director_abstract_runme.pl │ │ ├── director_alternating_runme.pl │ │ ├── director_basic_runme.pl │ │ ├── director_classes_runme.pl │ │ ├── director_classic_runme.pl │ │ ├── director_constructor_runme.pl │ │ ├── director_default_runme.pl │ │ ├── director_detect_runme.pl │ │ ├── director_enum_runme.pl │ │ ├── director_exception_runme.pl │ │ ├── director_extend_runme.pl │ │ ├── director_finalizer_runme.pl │ │ ├── director_frob_runme.pl │ │ ├── director_ignore_runme.pl │ │ ├── director_nested_runme.pl │ │ ├── director_primitives_runme.pl │ │ ├── director_protected_runme.pl │ │ ├── director_string_runme.pl │ │ ├── director_unroll_runme.pl │ │ ├── director_wombat_runme.pl │ │ ├── disown_runme.pl │ │ ├── dynamic_cast_runme.pl │ │ ├── enum_template_runme.pl │ │ ├── enum_thorough_runme.pl │ │ ├── exception_order_runme.pl │ │ ├── global_vars_runme.pl │ │ ├── grouping_runme.pl │ │ ├── ignore_parameter_runme.pl │ │ ├── import_nomodule_runme.pl │ │ ├── imports_runme.pl │ │ ├── inctest_runme.pl │ │ ├── inherit_missing_runme.pl │ │ ├── inherit_runme.pl │ │ ├── li_carrays_cpp_runme.pl │ │ ├── li_carrays_runme.pl │ │ ├── li_cdata_carrays_cpp_runme.pl │ │ ├── li_cdata_carrays_runme.pl │ │ ├── li_reference_runme.pl │ │ ├── li_std_except_runme.pl │ │ ├── li_std_string_runme.pl │ │ ├── li_typemaps_runme.pl │ │ ├── member_pointer_runme.pl │ │ ├── minherit_runme.pl │ │ ├── multiple_inheritance_runme.pl │ │ ├── naturalvar_runme.pl │ │ ├── operator_overload_break_runme.pl │ │ ├── operator_overload_runme.pl │ │ ├── overload_copy_runme.pl │ │ ├── overload_simple_runme.pl │ │ ├── packageoption_runme.pl │ │ ├── preproc_runme.pl │ │ ├── primitive_ref_runme.pl │ │ ├── primitive_types_runme.pl │ │ ├── profiletest_runme.pl │ │ ├── reference_global_vars_runme.pl │ │ ├── rename_scope_runme.pl │ │ ├── ret_by_value_runme.pl │ │ ├── return_const_value_runme.pl │ │ ├── run-perl-test.pl │ │ ├── sizet_runme.pl │ │ ├── sneaky1_runme.pl │ │ ├── template_default_arg_runme.pl │ │ ├── template_ref_type_runme.pl │ │ ├── template_typedef_cplx2_runme.pl │ │ ├── template_typedef_cplx3_runme.pl │ │ ├── template_typedef_cplx_runme.pl │ │ ├── typedef_class_runme.pl │ │ ├── typemap_namespace_runme.pl │ │ ├── typename_runme.pl │ │ ├── unions_runme.pl │ │ ├── using1_runme.pl │ │ ├── using2_runme.pl │ │ ├── varargs_runme.pl │ │ ├── virtual_poly_runme.pl │ │ ├── voidtest_runme.pl │ │ └── wrapmacro_runme.pl │ ├── php │ │ ├── Makefile.in │ │ ├── abstract_inherit_ok_runme.php │ │ ├── abstract_inherit_runme.php │ │ ├── add_link_runme.php │ │ ├── argout_runme.php │ │ ├── arrayptr_runme.php │ │ ├── arrays_global_runme.php │ │ ├── arrays_global_twodim_runme.php │ │ ├── arrays_runme.php │ │ ├── arrays_scope_runme.php │ │ ├── callback_runme.php │ │ ├── casts_runme.php │ │ ├── char_strings_runme.php │ │ ├── class_ignore_runme.php │ │ ├── conversion_namespace_runme.php │ │ ├── conversion_ns_template_runme.php │ │ ├── conversion_runme.php │ │ ├── cpp11_strongly_typed_enumerations_runme.php │ │ ├── cpp_static_runme.php │ │ ├── director_abstract_runme.php │ │ ├── director_basic_runme.php │ │ ├── director_classic_runme.php │ │ ├── director_default_runme.php │ │ ├── director_detect_runme.php │ │ ├── director_enum_runme.php │ │ ├── director_exception_runme.php │ │ ├── director_extend_runme.php │ │ ├── director_finalizer_runme.php │ │ ├── director_frob_runme.php │ │ ├── director_nested_runme.php │ │ ├── director_pass_by_value_runme.php │ │ ├── director_profile_runme.php │ │ ├── director_protected_runme.php │ │ ├── director_stl_runme.php │ │ ├── director_string_runme.php │ │ ├── director_thread_runme.php │ │ ├── director_unroll_runme.php │ │ ├── enum_scope_template_runme.php │ │ ├── evil_diamond_ns_runme.php │ │ ├── evil_diamond_prop_runme.php │ │ ├── evil_diamond_runme.php │ │ ├── exception_order_runme.php │ │ ├── extend_template_ns_runme.php │ │ ├── extend_template_runme.php │ │ ├── grouping_runme.php │ │ ├── ignore_parameter_runme.php │ │ ├── import_nomodule_runme.php │ │ ├── li_carrays_cpp_runme.php │ │ ├── li_carrays_runme.php │ │ ├── li_factory_runme.php │ │ ├── li_std_string_runme.php │ │ ├── li_std_vector_member_var_runme.php │ │ ├── newobject1_runme.php │ │ ├── overload_rename_runme.php │ │ ├── overload_return_type_runme.php │ │ ├── php_iterator_runme.php │ │ ├── pointer_reference_runme.php │ │ ├── prefix_runme.php │ │ ├── primitive_ref_runme.php │ │ ├── rename_scope_runme.php │ │ ├── skel.php │ │ ├── smart_pointer_rename_runme.php │ │ ├── sym_runme.php │ │ ├── template_arg_typename_runme.php │ │ ├── template_construct_runme.php │ │ ├── tests.php │ │ ├── threads_exception_runme.php │ │ ├── typedef_reference_runme.php │ │ ├── typemap_ns_using_runme.php │ │ ├── using1_runme.php │ │ ├── using2_runme.php │ │ ├── valuewrapper_base_runme.php │ │ ├── virtual_vs_nonvirtual_base_runme.php │ │ └── wrapmacro_runme.php │ ├── php_iterator.i │ ├── php_namewarn_rename.i │ ├── pike │ │ └── Makefile.in │ ├── pointer_in_out.i │ ├── pointer_reference.i │ ├── prefix.i │ ├── preproc.i │ ├── preproc_constants.i │ ├── preproc_constants_c.i │ ├── preproc_defined.i │ ├── preproc_include.i │ ├── preproc_include_a.h │ ├── preproc_include_b.h │ ├── preproc_include_c.h │ ├── preproc_include_d withspace.h │ ├── preproc_include_e withspace.h │ ├── preproc_include_f withspace.h │ ├── preproc_include_g.h │ ├── preproc_include_h1.i │ ├── preproc_include_h2.i │ ├── preproc_include_h3.i │ ├── preproc_line_file.i │ ├── primitive_ref.i │ ├── primitive_types.i │ ├── private_assign.i │ ├── profiletest.i │ ├── protected_rename.i │ ├── pure_virtual.i │ ├── python │ │ ├── Makefile.in │ │ ├── README │ │ ├── abstract_access_runme.py │ │ ├── abstract_typedef2_runme.py │ │ ├── abstract_typedef_runme.py │ │ ├── abstract_virtual_runme.py │ │ ├── argcargvtest_runme.py │ │ ├── array_member_runme.py │ │ ├── arrays_global_runme.py │ │ ├── autodoc_runme.py │ │ ├── callback_runme.py │ │ ├── char_binary_runme.py │ │ ├── class_ignore_runme.py │ │ ├── class_scope_weird_runme.py │ │ ├── compactdefaultargs_runme.py │ │ ├── complextest_runme.py │ │ ├── constant_directive_runme.py │ │ ├── constover_runme.py │ │ ├── constructor_copy_runme.py │ │ ├── constructor_rename_runme.py │ │ ├── contract_runme.py │ │ ├── cpp11_alternate_function_syntax_runme.py │ │ ├── cpp11_decltype_runme.py │ │ ├── cpp11_function_objects_runme.py │ │ ├── cpp11_initializer_list_extend_runme.py │ │ ├── cpp11_initializer_list_runme.py │ │ ├── cpp11_li_std_array_runme.py │ │ ├── cpp11_null_pointer_constant_runme.py │ │ ├── cpp11_raw_string_literals_runme.py │ │ ├── cpp11_result_of_runme.py │ │ ├── cpp11_rvalue_reference_runme.py │ │ ├── cpp11_strongly_typed_enumerations_runme.py │ │ ├── cpp11_thread_local_runme.py │ │ ├── cpp11_type_aliasing_runme.py │ │ ├── cpp11_type_traits_runme.py │ │ ├── cpp11_uniform_initialization_runme.py │ │ ├── cpp_enum_runme.py │ │ ├── cpp_namespace_runme.py │ │ ├── cpp_static_runme.py │ │ ├── default_arg_values_runme.py │ │ ├── default_args_c_runme.py │ │ ├── default_args_runme.py │ │ ├── default_constructor_runme.py │ │ ├── director_abstract_runme.py │ │ ├── director_alternating_runme.py │ │ ├── director_basic_runme.py │ │ ├── director_classic_runme.py │ │ ├── director_default_runme.py │ │ ├── director_detect_runme.py │ │ ├── director_enum_runme.py │ │ ├── director_exception_runme.py │ │ ├── director_extend_runme.py │ │ ├── director_finalizer_runme.py │ │ ├── director_frob_runme.py │ │ ├── director_keywords_runme.py │ │ ├── director_nested_runme.py │ │ ├── director_pass_by_value_runme.py │ │ ├── director_profile_runme.py │ │ ├── director_property_runme.py │ │ ├── director_protected_runme.py │ │ ├── director_smartptr_runme.py │ │ ├── director_stl_runme.py │ │ ├── director_string_runme.py │ │ ├── director_thread_runme.py │ │ ├── director_unroll_runme.py │ │ ├── director_wstring_runme.py │ │ ├── disown_runme.py │ │ ├── dynamic_cast_runme.py │ │ ├── empty_c_runme.py │ │ ├── empty_runme.py │ │ ├── enum_forward_runme.py │ │ ├── enum_template_runme.py │ │ ├── enums_runme.py │ │ ├── exception_classname_runme.py │ │ ├── exception_order_runme.py │ │ ├── extend_placement_runme.py │ │ ├── extend_template_ns_runme.py │ │ ├── extend_template_runme.py │ │ ├── extend_variable_runme.py │ │ ├── extern_c_runme.py │ │ ├── file_test_runme.py │ │ ├── friends_runme.py │ │ ├── funcptr_cpp_runme.py │ │ ├── fvirtual_runme.py │ │ ├── global_functions_runme.py │ │ ├── global_namespace_runme.py │ │ ├── global_ns_arg_runme.py │ │ ├── global_vars_runme.py │ │ ├── grouping_runme.py │ │ ├── hugemod.pl │ │ ├── iadd_runme.py │ │ ├── implicittest_runme.py │ │ ├── import_nomodule_runme.py │ │ ├── import_stl_runme.py │ │ ├── imports_runme.py │ │ ├── inctest_runme.py │ │ ├── inherit_missing_runme.py │ │ ├── inout_runme.py │ │ ├── inplaceadd_runme.py │ │ ├── input_runme.py │ │ ├── keyword_rename_c_runme.py │ │ ├── keyword_rename_runme.py │ │ ├── kwargs_feature_runme.py │ │ ├── langobj_runme.py │ │ ├── li_attribute_runme.py │ │ ├── li_attribute_template_runme.py │ │ ├── li_boost_array_runme.py │ │ ├── li_boost_shared_ptr_bits_runme.py │ │ ├── li_boost_shared_ptr_runme.py │ │ ├── li_boost_shared_ptr_template_runme.py │ │ ├── li_carrays_cpp_runme.py │ │ ├── li_carrays_runme.py │ │ ├── li_cdata_cpp_runme.py │ │ ├── li_cdata_runme.py │ │ ├── li_cmalloc_runme.py │ │ ├── li_cpointer_cpp_runme.py │ │ ├── li_cpointer_runme.py │ │ ├── li_cstring_runme.py │ │ ├── li_cwstring_runme.py │ │ ├── li_factory_runme.py │ │ ├── li_implicit_runme.py │ │ ├── li_std_auto_ptr_runme.py │ │ ├── li_std_carray_runme.py │ │ ├── li_std_containers_int_runme.py │ │ ├── li_std_except_as_class_runme.py │ │ ├── li_std_map_member_runme.py │ │ ├── li_std_map_runme.py │ │ ├── li_std_pair_extra_runme.py │ │ ├── li_std_pair_using_runme.py │ │ ├── li_std_set_runme.py │ │ ├── li_std_stream_runme.py │ │ ├── li_std_string_extra_runme.py │ │ ├── li_std_vector_enum_runme.py │ │ ├── li_std_vector_extra_runme.py │ │ ├── li_std_vector_ptr_runme.py │ │ ├── li_std_vector_runme.py │ │ ├── li_std_wstream_runme.py │ │ ├── li_std_wstring_runme.py │ │ ├── member_pointer_runme.py │ │ ├── memberin_extend_c_runme.py │ │ ├── minherit_runme.py │ │ ├── mod_runme.py │ │ ├── multi_import_runme.py │ │ ├── namespace_class_runme.py │ │ ├── namespace_typemap_runme.py │ │ ├── namespace_virtual_method_runme.py │ │ ├── naturalvar_runme.py │ │ ├── nested_template_base_runme.py │ │ ├── nested_workaround_runme.py │ │ ├── operator_overload_runme.py │ │ ├── operbool_runme.py │ │ ├── overload_bool_runme.py │ │ ├── overload_complicated_runme.py │ │ ├── overload_copy_runme.py │ │ ├── overload_extend2_runme.py │ │ ├── overload_extend_c_runme.py │ │ ├── overload_extend_runme.py │ │ ├── overload_numeric_runme.py │ │ ├── overload_rename_runme.py │ │ ├── overload_simple_runme.py │ │ ├── overload_subtype_runme.py │ │ ├── overload_template_fast_runme.py │ │ ├── overload_template_runme.py │ │ ├── pointer_reference_runme.py │ │ ├── preproc_defined_runme.py │ │ ├── preproc_include_runme.py │ │ ├── preproc_runme.py │ │ ├── primitive_ref_runme.py │ │ ├── primitive_types_runme.py │ │ ├── profiletest_runme.py │ │ ├── profiletestc_runme.py │ │ ├── python_abstractbase_runme3.py │ │ ├── python_append_runme.py │ │ ├── python_destructor_exception_runme.py │ │ ├── python_docstring_runme.py │ │ ├── python_nondynamic_runme.py │ │ ├── python_overload_simple_cast_runme.py │ │ ├── python_pybuf_runme3.py │ │ ├── python_pythoncode_runme.py │ │ ├── python_richcompare_runme.py │ │ ├── python_strict_unicode_runme.py │ │ ├── python_threads_runme.py │ │ ├── python_varargs_typemap_runme.py │ │ ├── pythonswig.supp │ │ ├── refcount_runme.py │ │ ├── reference_global_vars_runme.py │ │ ├── rename_pcre_encoder_runme.py │ │ ├── rename_predicates_runme.py │ │ ├── rename_rstrip_encoder_runme.py │ │ ├── rename_scope_runme.py │ │ ├── rename_strip_encoder_runme.py │ │ ├── ret_by_value_runme.py │ │ ├── return_const_value_runme.py │ │ ├── smart_pointer_const_overload_runme.py │ │ ├── smart_pointer_extend_runme.py │ │ ├── smart_pointer_member_runme.py │ │ ├── smart_pointer_multi_runme.py │ │ ├── smart_pointer_multi_typedef_runme.py │ │ ├── smart_pointer_not_runme.py │ │ ├── smart_pointer_overload_runme.py │ │ ├── smart_pointer_rename_runme.py │ │ ├── smart_pointer_simple_runme.py │ │ ├── smart_pointer_templatevariables_runme.py │ │ ├── smart_pointer_typedef_runme.py │ │ ├── sneaky1_runme.py │ │ ├── special_variable_macros_runme.py │ │ ├── static_const_member_2_runme.py │ │ ├── std_containers_runme.py │ │ ├── struct_initialization_runme.py │ │ ├── struct_rename_runme.py │ │ ├── struct_value_runme.py │ │ ├── swigobject_runme.py │ │ ├── template_classes_runme.py │ │ ├── template_construct_runme.py │ │ ├── template_default_arg_overloaded_extend_runme.py │ │ ├── template_default_arg_overloaded_runme.py │ │ ├── template_default_arg_runme.py │ │ ├── template_extend1_runme.py │ │ ├── template_extend2_runme.py │ │ ├── template_inherit_runme.py │ │ ├── template_matrix_runme.py │ │ ├── template_ns4_runme.py │ │ ├── template_ns_runme.py │ │ ├── template_opaque_runme.py │ │ ├── template_ref_type_runme.py │ │ ├── template_rename_runme.py │ │ ├── template_static_runme.py │ │ ├── template_tbase_template_runme.py │ │ ├── template_type_namespace_runme.py │ │ ├── template_typedef_cplx2_runme.py │ │ ├── template_typedef_cplx3_runme.py │ │ ├── template_typedef_cplx4_runme.py │ │ ├── template_typedef_cplx_runme.py │ │ ├── template_typedef_import_runme.py │ │ ├── template_typedef_runme.py │ │ ├── template_typemaps_typedef2_runme.py │ │ ├── template_typemaps_typedef_runme.py │ │ ├── threads_exception_runme.py │ │ ├── typedef_class_runme.py │ │ ├── typedef_inherit_runme.py │ │ ├── typedef_scope_runme.py │ │ ├── typedef_typedef_runme.py │ │ ├── typemap_arrays_runme.py │ │ ├── typemap_delete_runme.py │ │ ├── typemap_namespace_runme.py │ │ ├── typemap_ns_using_runme.py │ │ ├── typemap_out_optimal_runme.py │ │ ├── typemap_qualifier_strip_runme.py │ │ ├── typename_runme.py │ │ ├── types_directive_runme.py │ │ ├── unicode_strings_runme.py │ │ ├── unions_runme.py │ │ ├── using1_runme.py │ │ ├── using2_runme.py │ │ ├── using_composition_runme.py │ │ ├── using_extend_runme.py │ │ ├── using_inherit_runme.py │ │ ├── using_private_runme.py │ │ ├── using_protected_runme.py │ │ ├── varargs_overload_runme.py │ │ ├── varargs_runme.py │ │ ├── virtual_derivation_runme.py │ │ ├── virtual_poly_runme.py │ │ ├── voidtest_runme.py │ │ └── wrapmacro_runme.py │ ├── python_abstractbase.i │ ├── python_append.i │ ├── python_destructor_exception.i │ ├── python_director.i │ ├── python_docstring.i │ ├── python_nondynamic.i │ ├── python_overload_simple_cast.i │ ├── python_pybuf.i │ ├── python_pythoncode.i │ ├── python_richcompare.i │ ├── python_strict_unicode.i │ ├── python_threads.i │ ├── python_varargs_typemap.i │ ├── r │ │ ├── Makefile.in │ │ ├── arrays_dimensionless_runme.R │ │ ├── funcptr_runme.R │ │ ├── ignore_parameter_runme.R │ │ ├── integers_runme.R │ │ ├── li_std_vector_runme.R │ │ ├── overload_method_runme.R │ │ ├── preproc_constants_runme.R │ │ ├── r_copy_struct_runme.R │ │ ├── r_double_delete_runme.R │ │ ├── r_legacy_runme.R │ │ ├── r_sexp_runme.R │ │ ├── rename_simple_runme.R │ │ ├── simple_array_runme.R │ │ ├── unions_runme.R │ │ └── unittest.R │ ├── r_copy_struct.i │ ├── r_double_delete.i │ ├── r_legacy.i │ ├── r_overload_array.i │ ├── r_sexp.i │ ├── redefined.i │ ├── redefined_not.i │ ├── refcount.h │ ├── refcount.i │ ├── reference_global_vars.i │ ├── register_par.i │ ├── rename.h │ ├── rename1.i │ ├── rename2.i │ ├── rename3.i │ ├── rename4.i │ ├── rename_camel.i │ ├── rename_pcre_encoder.i │ ├── rename_pcre_enum.i │ ├── rename_predicates.i │ ├── rename_rstrip_encoder.i │ ├── rename_scope.i │ ├── rename_simple.i │ ├── rename_strip_encoder.i │ ├── restrict_cplusplus.i │ ├── ret_by_value.i │ ├── return_const_value.i │ ├── return_value_scope.i │ ├── rname.i │ ├── ruby │ │ ├── Makefile.in │ │ ├── README │ │ ├── abstract_access_runme.rb │ │ ├── abstract_inherit_ok_runme.rb │ │ ├── abstract_inherit_runme.rb │ │ ├── abstract_signature_runme.rb │ │ ├── abstract_typedef2_runme.rb │ │ ├── abstract_typedef_runme.rb │ │ ├── abstract_virtual_runme.rb │ │ ├── access_change_runme.rb │ │ ├── add_link_runme.rb │ │ ├── aggregate_runme.rb │ │ ├── anonymous_bitfield_runme.rb │ │ ├── apply_signed_char_runme.rb │ │ ├── apply_strings_runme.rb │ │ ├── argout_runme.rb │ │ ├── array_member_runme.rb │ │ ├── arrays_global_runme.rb │ │ ├── arrays_runme.rb │ │ ├── bools_runme.rb │ │ ├── cast_operator_runme.rb │ │ ├── casts_runme.rb │ │ ├── char_constant_runme.rb │ │ ├── check_missing_tests.rb │ │ ├── class_ignore_runme.rb │ │ ├── const_const_runme.rb │ │ ├── constover_runme.rb │ │ ├── cpp11_li_std_array_runme.rb │ │ ├── cpp11_strongly_typed_enumerations_runme.rb │ │ ├── cpp_namespace_runme.rb │ │ ├── default_constructor_runme.rb │ │ ├── director_abstract_runme.rb │ │ ├── director_basic_runme.rb │ │ ├── director_constructor_runme.rb │ │ ├── director_default_runme.rb │ │ ├── director_detect_runme.rb │ │ ├── director_exception_runme.rb │ │ ├── director_frob_runme.rb │ │ ├── director_nested_runme.rb │ │ ├── director_protected_runme.rb │ │ ├── director_smartptr_runme.rb │ │ ├── director_string_runme.rb │ │ ├── director_unroll_runme.rb │ │ ├── director_wombat_runme.rb │ │ ├── disown_runme.rb │ │ ├── dynamic_cast_runme.rb │ │ ├── enum_thorough_runme.rb │ │ ├── enums_runme.rb │ │ ├── extend_template_ns_runme.rb │ │ ├── extend_template_runme.rb │ │ ├── friends_runme.rb │ │ ├── function_typedef_runme.rb │ │ ├── grouping_runme.rb │ │ ├── ignore_parameter_runme.rb │ │ ├── imports_runme.rb │ │ ├── inherit_missing_runme.rb │ │ ├── integers_runme.rb │ │ ├── li_boost_array_runme.rb │ │ ├── li_boost_shared_ptr_bits_runme.rb │ │ ├── li_boost_shared_ptr_runme.rb │ │ ├── li_boost_shared_ptr_template_runme.rb │ │ ├── li_carrays_cpp_runme.rb │ │ ├── li_carrays_runme.rb │ │ ├── li_cstring_runme.rb │ │ ├── li_factory_runme.rb │ │ ├── li_math_runme.rb │ │ ├── li_std_deque_runme.rb │ │ ├── li_std_functors_runme.rb │ │ ├── li_std_map_runme.rb │ │ ├── li_std_multimap_runme.rb │ │ ├── li_std_pair_lang_object_runme.rb │ │ ├── li_std_pair_runme.rb │ │ ├── li_std_queue_runme.rb │ │ ├── li_std_set_runme.rb │ │ ├── li_std_speed2_runme.rb │ │ ├── li_std_stack_runme.rb │ │ ├── li_std_stream_runme.rb │ │ ├── li_std_string_runme.rb │ │ ├── li_std_vector_enum_runme.rb │ │ ├── li_std_vector_runme.rb │ │ ├── member_pointer_runme.rb │ │ ├── minherit_runme.rb │ │ ├── namespace_typemap_runme.rb │ │ ├── newobject1_runme.rb │ │ ├── newobject2_runme.rb │ │ ├── overload_bool_runme.rb │ │ ├── overload_copy_runme.rb │ │ ├── overload_extend2_runme.rb │ │ ├── overload_extend_c_runme.rb │ │ ├── overload_extend_runme.rb │ │ ├── overload_simple_runme.rb │ │ ├── overload_subtype_runme.rb │ │ ├── overload_template_runme.rb │ │ ├── primitive_ref_runme.rb │ │ ├── primitive_types_runme.rb │ │ ├── profiletest_runme.rb │ │ ├── refcount_runme.rb │ │ ├── reference_global_vars_runme.rb │ │ ├── rename_scope_runme.rb │ │ ├── ruby_keywords_runme.rb │ │ ├── ruby_li_std_speed_runme.rb │ │ ├── ruby_manual_proxy_runme.rb │ │ ├── ruby_minherit_shared_ptr_runme.rb │ │ ├── ruby_naming_runme.rb │ │ ├── ruby_track_objects_directors_runme.rb │ │ ├── ruby_track_objects_runme.rb │ │ ├── smart_pointer_const_runme.rb │ │ ├── smart_pointer_multi_runme.rb │ │ ├── smart_pointer_multi_typedef_runme.rb │ │ ├── smart_pointer_not_runme.rb │ │ ├── smart_pointer_overload_runme.rb │ │ ├── smart_pointer_rename_runme.rb │ │ ├── smart_pointer_simple_runme.rb │ │ ├── smart_pointer_typedef_runme.rb │ │ ├── sneaky1_runme.rb │ │ ├── static_const_member_2_runme.rb │ │ ├── std_containers_runme.rb │ │ ├── stl_new_runme.rb │ │ ├── struct_value_runme.rb │ │ ├── swig_assert.rb │ │ ├── swig_gc.rb │ │ ├── template_construct_runme.rb │ │ ├── template_extend1_runme.rb │ │ ├── template_extend2_runme.rb │ │ ├── template_inherit_runme.rb │ │ ├── template_ns4_runme.rb │ │ ├── template_ns_runme.rb │ │ ├── template_rename_runme.rb │ │ ├── template_tbase_template_runme.rb │ │ ├── template_type_namespace_runme.rb │ │ ├── template_typedef_cplx2_runme.rb │ │ ├── template_typedef_cplx3_runme.rb │ │ ├── template_typedef_cplx4_runme.rb │ │ ├── template_typedef_cplx_runme.rb │ │ ├── throw_exception_runme.rb │ │ ├── typedef_inherit_runme.rb │ │ ├── typedef_scope_runme.rb │ │ ├── typemap_namespace_runme.rb │ │ ├── typemap_ns_using_runme.rb │ │ ├── typename_runme.rb │ │ ├── unions_runme.rb │ │ ├── using1_runme.rb │ │ ├── using2_runme.rb │ │ ├── using_composition_runme.rb │ │ ├── using_extend_runme.rb │ │ ├── using_inherit_runme.rb │ │ ├── using_private_runme.rb │ │ ├── using_protected_runme.rb │ │ ├── varargs_runme.rb │ │ ├── virtual_derivation_runme.rb │ │ ├── virtual_poly_runme.rb │ │ └── voidtest_runme.rb │ ├── ruby_keywords.i │ ├── ruby_li_std_speed.i │ ├── ruby_manual_proxy.i │ ├── ruby_minherit_shared_ptr.i │ ├── ruby_naming.i │ ├── ruby_track_objects.i │ ├── ruby_track_objects_directors.i │ ├── samename.i │ ├── schemerunme │ │ ├── casts.scm │ │ ├── char_constant.scm │ │ ├── class_ignore.scm │ │ ├── constover.scm │ │ ├── contract.scm │ │ ├── cpp_enum.scm │ │ ├── cpp_namespace.scm │ │ ├── dynamic_cast.scm │ │ ├── global_vars.scm │ │ ├── global_vars_proxy.scm │ │ ├── import_nomodule.scm │ │ ├── imports.scm │ │ ├── inherit_missing.scm │ │ ├── integers.scm │ │ ├── li_std_string.scm │ │ ├── li_typemaps.scm │ │ ├── li_typemaps_proxy.scm │ │ ├── list_vector.scm │ │ ├── multiple_inheritance_proxy.scm │ │ ├── multivalue.scm │ │ ├── name.scm │ │ ├── overload_complicated.scm │ │ ├── overload_copy.scm │ │ ├── overload_extend.scm │ │ ├── overload_extend_c.scm │ │ ├── overload_simple.scm │ │ ├── overload_subtype.scm │ │ ├── pointer_in_out.scm │ │ ├── reference_global_vars.scm │ │ ├── typedef_inherit.scm │ │ ├── typename.scm │ │ ├── unions.scm │ │ └── unions_proxy.scm │ ├── scilab │ │ ├── Makefile.in │ │ ├── abstract_access_runme.sci │ │ ├── abstract_inherit_ok_runme.sci │ │ ├── abstract_inherit_runme.sci │ │ ├── abstract_signature_runme.sci │ │ ├── abstract_typedef2_runme.sci │ │ ├── abstract_typedef_runme.sci │ │ ├── abstract_virtual_runme.sci │ │ ├── access_change_runme.sci │ │ ├── add_link_runme.sci │ │ ├── aggregate_runme.sci │ │ ├── allowexcept_runme.sci │ │ ├── allprotected_runme.sci │ │ ├── anonymous_bitfield_runme.sci │ │ ├── apply_signed_char_runme.sci │ │ ├── apply_strings_runme.sci │ │ ├── array_member_runme.sci │ │ ├── arrays_dimensionless_runme.sci │ │ ├── arrays_global_runme.sci │ │ ├── arrays_global_twodim_runme.sci │ │ ├── bools_runme.sci │ │ ├── char_constant_runme.sci │ │ ├── constover_runme.sci │ │ ├── constructor_copy_runme.sci │ │ ├── cpp_basic_runme.sci │ │ ├── cpp_enum_runme.sci │ │ ├── default_args_runme.sci │ │ ├── default_constructor_runme.sci │ │ ├── empty_c_runme.sci │ │ ├── empty_runme.sci │ │ ├── enums_runme.sci │ │ ├── funcptr_cpp_runme.sci │ │ ├── funcptr_runme.sci │ │ ├── global_vars_runme.sci │ │ ├── inctest_runme.sci │ │ ├── inherit_missing_runme.sci │ │ ├── inout_runme.sci │ │ ├── integers_runme.sci │ │ ├── li_carrays_cpp_runme.sci │ │ ├── li_carrays_runme.sci │ │ ├── li_cpointer_cpp_runme.sci │ │ ├── li_cpointer_runme.sci │ │ ├── li_math_runme.sci │ │ ├── li_std_container_typemaps_runme.sci │ │ ├── li_std_deque_runme.sci │ │ ├── li_std_except_runme.sci │ │ ├── li_std_pair_runme.sci │ │ ├── li_std_string_extra_runme.sci │ │ ├── li_std_vector_runme.sci │ │ ├── li_typemaps_runme.sci │ │ ├── member_pointer_runme.sci │ │ ├── name_runme.sci │ │ ├── nested_structs_runme.sci │ │ ├── newobject2_runme.sci │ │ ├── null_pointer_runme.sci │ │ ├── operator_overload_runme.sci │ │ ├── overload_arrays_runme.sci │ │ ├── overload_complicated_runme.sci │ │ ├── overload_copy_runme.sci │ │ ├── overload_extend2_runme.sci │ │ ├── overload_extend_c_runme.sci │ │ ├── overload_extend_runme.sci │ │ ├── overload_numeric_runme.sci │ │ ├── overload_polymorphic_runme.sci │ │ ├── overload_simple_runme.sci │ │ ├── overload_subtype_runme.sci │ │ ├── preproc_constants_runme.sci │ │ ├── preproc_runme.sci │ │ ├── primitive_ref_runme.sci │ │ ├── primitive_types_runme.sci │ │ ├── ret_by_value_runme.sci │ │ ├── return_const_value_runme.sci │ │ ├── scilab_consts_runme.sci │ │ ├── scilab_enums_runme.sci │ │ ├── scilab_identifier_name_runme.sci │ │ ├── scilab_li_matrix_runme.sci │ │ ├── scilab_multivalue_runme.sci │ │ ├── scilab_pointer_conversion_functions_runme.sci │ │ ├── simple_array_runme.sci │ │ ├── sizet_runme.sci │ │ ├── smart_pointer_simple_runme.sci │ │ ├── sneaky1_runme.sci │ │ ├── struct_initialization_runme.sci │ │ ├── struct_rename_runme.sci │ │ ├── struct_value_runme.sci │ │ ├── swigtest.quit │ │ ├── swigtest.start │ │ ├── template_classes_runme.sci │ │ ├── template_ns_runme.sci │ │ ├── template_rename_runme.sci │ │ ├── template_static_runme.sci │ │ ├── throw_exception_runme.sci │ │ ├── typedef_struct_cpp_runme.sci │ │ ├── typedef_struct_runme.sci │ │ ├── union_parameter_runme.sci │ │ ├── unions_runme.sci │ │ ├── varargs_overload_runme.sci │ │ ├── varargs_runme.sci │ │ └── voidtest_runme.sci │ ├── scilab_consts.i │ ├── scilab_enums.i │ ├── scilab_identifier_name.i │ ├── scilab_li_matrix.i │ ├── scilab_multivalue.i │ ├── scilab_pointer_conversion_functions.i │ ├── shared_ptr_wrapper.h │ ├── simple_array.i │ ├── simutry.i │ ├── sizeof_pointer.i │ ├── sizet.i │ ├── smart_pointer_const.i │ ├── smart_pointer_const2.i │ ├── smart_pointer_const_overload.i │ ├── smart_pointer_extend.i │ ├── smart_pointer_ignore.i │ ├── smart_pointer_inherit.i │ ├── smart_pointer_member.i │ ├── smart_pointer_multi.i │ ├── smart_pointer_multi_typedef.i │ ├── smart_pointer_namespace.i │ ├── smart_pointer_namespace2.i │ ├── smart_pointer_not.i │ ├── smart_pointer_overload.i │ ├── smart_pointer_protected.i │ ├── smart_pointer_rename.i │ ├── smart_pointer_simple.i │ ├── smart_pointer_static.i │ ├── smart_pointer_template_const_overload.i │ ├── smart_pointer_template_defaults_overload.i │ ├── smart_pointer_templatemethods.i │ ├── smart_pointer_templatevariables.i │ ├── smart_pointer_typedef.i │ ├── sneaky1.i │ ├── special_variable_attributes.i │ ├── special_variable_macros.i │ ├── special_variables.i │ ├── static_array_member.i │ ├── static_const_member.i │ ├── static_const_member_2.i │ ├── std_containers.i │ ├── stl_new.i │ ├── string_constants.i │ ├── string_simple.i │ ├── struct_initialization.i │ ├── struct_initialization_cpp.i │ ├── struct_rename.i │ ├── struct_value.i │ ├── swig_examples_lock.h │ ├── swigobject.i │ ├── sym.i │ ├── symbol_clash.i │ ├── tag_no_clash_with_variable.i │ ├── tcl │ │ ├── Makefile.in │ │ ├── README │ │ ├── bools_runme.tcl │ │ ├── clientdata_prop_runme.tcl │ │ ├── cpp11_strongly_typed_enumerations_runme.tcl │ │ ├── disown_runme.tcl │ │ ├── enum_thorough_runme.tcl │ │ ├── import_nomodule_runme.tcl │ │ ├── imports_runme.tcl │ │ ├── li_std_string_runme.tcl │ │ ├── member_pointer_runme.tcl │ │ ├── newobject1_runme.tcl │ │ ├── newobject2_runme.tcl │ │ ├── null_pointer_runme.tcl │ │ ├── overload_copy_runme.tcl │ │ ├── overload_simple_runme.tcl │ │ ├── primitive_ref_runme.tcl │ │ ├── primitive_types_runme.tcl │ │ ├── profiletest_runme.tcl │ │ ├── reference_global_vars_runme.tcl │ │ ├── union_parameter_runme.tcl │ │ └── unions_runme.tcl │ ├── template_arg_replace.i │ ├── template_arg_scope.i │ ├── template_arg_typename.i │ ├── template_array_numeric.i │ ├── template_base_template.i │ ├── template_basic.i │ ├── template_classes.i │ ├── template_const_ref.i │ ├── template_construct.i │ ├── template_default.i │ ├── template_default2.i │ ├── template_default_arg.i │ ├── template_default_arg_overloaded.i │ ├── template_default_arg_overloaded_extend.i │ ├── template_default_arg_virtual_destructor.i │ ├── template_default_class_parms.i │ ├── template_default_class_parms_typedef.i │ ├── template_default_inherit.i │ ├── template_default_pointer.i │ ├── template_default_qualify.i │ ├── template_default_vw.i │ ├── template_enum.i │ ├── template_enum_ns_inherit.i │ ├── template_enum_typedef.i │ ├── template_explicit.i │ ├── template_expr.i │ ├── template_extend1.i │ ├── template_extend2.i │ ├── template_extend_overload.i │ ├── template_extend_overload_2.i │ ├── template_forward.i │ ├── template_inherit.i │ ├── template_inherit_abstract.i │ ├── template_int_const.i │ ├── template_keyword_in_type.i │ ├── template_matrix.i │ ├── template_methods.i │ ├── template_namespace_forward_declaration.i │ ├── template_nested.i │ ├── template_nested_typemaps.i │ ├── template_ns.i │ ├── template_ns2.i │ ├── template_ns3.i │ ├── template_ns4.i │ ├── template_ns_enum.i │ ├── template_ns_enum2.i │ ├── template_ns_inherit.i │ ├── template_ns_scope.i │ ├── template_opaque.i │ ├── template_partial_arg.i │ ├── template_partial_specialization.i │ ├── template_partial_specialization_typedef.i │ ├── template_private_assignment.i │ ├── template_qualifier.i │ ├── template_ref_type.i │ ├── template_rename.i │ ├── template_retvalue.i │ ├── template_specialization.i │ ├── template_specialization_defarg.i │ ├── template_specialization_enum.i │ ├── template_static.i │ ├── template_tbase_template.i │ ├── template_template_parameters.i │ ├── template_templated_constructors.i │ ├── template_type_namespace.i │ ├── template_typedef.i │ ├── template_typedef_class_template.i │ ├── template_typedef_cplx.i │ ├── template_typedef_cplx2.h │ ├── template_typedef_cplx2.i │ ├── template_typedef_cplx3.i │ ├── template_typedef_cplx4.i │ ├── template_typedef_cplx5.i │ ├── template_typedef_fnc.i │ ├── template_typedef_funcptr.i │ ├── template_typedef_import.i │ ├── template_typedef_import.list │ ├── template_typedef_inherit.i │ ├── template_typedef_ns.i │ ├── template_typedef_ptr.i │ ├── template_typedef_rec.i │ ├── template_typedef_typedef.i │ ├── template_typemaps.i │ ├── template_typemaps_typedef.i │ ├── template_typemaps_typedef2.i │ ├── template_using.i │ ├── template_using_directive_and_declaration_forward.i │ ├── template_virtual.i │ ├── template_whitespace.i │ ├── testdir │ │ ├── README │ │ ├── go_subdir_import │ │ │ └── go_subdir_import_c.i │ │ └── inctest │ │ │ ├── subdir1 │ │ │ ├── hello.i │ │ │ ├── imports.i │ │ │ └── subinc1.i │ │ │ ├── subdir2 │ │ │ ├── hello.i │ │ │ ├── imports.i │ │ │ └── subinc2.i │ │ │ └── test.i │ ├── threads.i │ ├── threads_exception.i │ ├── throw_exception.i │ ├── traits.i │ ├── typedef_array_member.i │ ├── typedef_class.i │ ├── typedef_funcptr.i │ ├── typedef_inherit.i │ ├── typedef_mptr.i │ ├── typedef_reference.i │ ├── typedef_scope.i │ ├── typedef_sizet.i │ ├── typedef_struct.i │ ├── typedef_struct_cpp.i │ ├── typedef_typedef.i │ ├── typemap_array_qualifiers.i │ ├── typemap_arrays.i │ ├── typemap_delete.i │ ├── typemap_directorout.i │ ├── typemap_global_scope.i │ ├── typemap_manyargs.i │ ├── typemap_namespace.i │ ├── typemap_ns_using.i │ ├── typemap_numinputs.i │ ├── typemap_out_optimal.i │ ├── typemap_qualifier_strip.i │ ├── typemap_self.i │ ├── typemap_subst.i │ ├── typemap_template.i │ ├── typemap_template_parm_typedef.i │ ├── typemap_variables.i │ ├── typemap_various.i │ ├── typename.i │ ├── types_directive.i │ ├── uffi │ │ └── Makefile.in │ ├── unicode_strings.i │ ├── union_parameter.i │ ├── union_scope.i │ ├── unions.i │ ├── using1.i │ ├── using2.i │ ├── using_composition.i │ ├── using_directive_and_declaration.i │ ├── using_directive_and_declaration_forward.i │ ├── using_extend.i │ ├── using_inherit.i │ ├── using_namespace.i │ ├── using_namespace_loop.i │ ├── using_pointers.i │ ├── using_private.i │ ├── using_protected.i │ ├── valuewrapper.i │ ├── valuewrapper_base.i │ ├── valuewrapper_const.i │ ├── valuewrapper_opaque.i │ ├── varargs.i │ ├── varargs_overload.i │ ├── virtual_derivation.i │ ├── virtual_destructor.i │ ├── virtual_poly.i │ ├── virtual_vs_nonvirtual_base.i │ ├── voidtest.i │ ├── wallkw.i │ └── wrapmacro.i └── xml │ ├── Makefile.in │ ├── error.expected-xml │ ├── error.i │ ├── example.expected-xml │ ├── example.h │ ├── example.i │ ├── example_apply.expected-xml │ ├── example_apply.i │ ├── example_const.expected-xml │ ├── example_const.i │ ├── example_gif.expected-xml │ ├── example_inl.expected-xml │ ├── example_inl.h │ ├── example_inl.i │ ├── example_p5.expected-xml │ ├── example_p5.i │ ├── example_ro.expected-xml │ ├── example_ro.i │ ├── example_title_add.expected-xml │ ├── example_title_add.i │ ├── example_xml.expected-xml │ ├── example_xml.h │ ├── example_xml.i │ ├── gnarly.expected-xml │ └── gnarly.i ├── INSTALL ├── LICENSE ├── LICENSE-GPL ├── LICENSE-UNIVERSITIES ├── Lib ├── allegrocl │ ├── allegrocl.swg │ ├── inout_typemaps.i │ ├── longlongs.i │ ├── std_list.i │ ├── std_string.i │ └── typemaps.i ├── allkw.swg ├── attribute.i ├── carrays.i ├── cdata.i ├── cffi │ └── cffi.swg ├── chicken │ ├── chicken.swg │ ├── chickenkw.swg │ ├── chickenrun.swg │ ├── extra-install.list │ ├── multi-generic.scm │ ├── std_string.i │ ├── swigclosprefix.scm │ ├── tinyclos-multi-generic.patch │ └── typemaps.i ├── clisp │ └── clisp.swg ├── cmalloc.i ├── constraints.i ├── cpointer.i ├── csharp │ ├── arrays_csharp.i │ ├── boost_intrusive_ptr.i │ ├── boost_shared_ptr.i │ ├── csharp.swg │ ├── csharphead.swg │ ├── csharpkw.swg │ ├── director.swg │ ├── enums.swg │ ├── enumsimple.swg │ ├── enumtypesafe.swg │ ├── std_auto_ptr.i │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_shared_ptr.i │ ├── std_string.i │ ├── std_vector.i │ ├── std_wstring.i │ ├── stl.i │ ├── swiginterface.i │ ├── swigtype_inout.i │ ├── typemaps.i │ └── wchar.i ├── cstring.i ├── cwstring.i ├── d │ ├── boost_shared_ptr.i │ ├── carrays.i │ ├── cpointer.i │ ├── d.swg │ ├── dclassgen.swg │ ├── ddirectives.swg │ ├── denums.swg │ ├── dexception.swg │ ├── dhead.swg │ ├── director.swg │ ├── dkw.swg │ ├── dmemberfunctionpointers.swg │ ├── doperators.swg │ ├── dprimitives.swg │ ├── dstrings.swg │ ├── dswigtype.swg │ ├── dvoid.swg │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_shared_ptr.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ ├── typemaps.i │ └── wrapperloader.swg ├── director_common.swg ├── exception.i ├── gcj │ ├── cni.i │ ├── cni.swg │ └── javaprims.i ├── go │ ├── cdata.i │ ├── exception.i │ ├── go.swg │ ├── gokw.swg │ ├── goruntime.swg │ ├── gostring.swg │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_list.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── guile │ ├── Makefile │ ├── common.scm │ ├── cplusplus.i │ ├── extra-install.list │ ├── guile.i │ ├── guile_scm.swg │ ├── guile_scm_run.swg │ ├── guilemain.i │ ├── interpreter.i │ ├── list-vector.i │ ├── pointer-in-out.i │ ├── ports.i │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ ├── swigrun.i │ └── typemaps.i ├── intrusive_ptr.i ├── inttypes.i ├── java │ ├── arrays_java.i │ ├── boost_intrusive_ptr.i │ ├── boost_shared_ptr.i │ ├── director.swg │ ├── enums.swg │ ├── enumsimple.swg │ ├── enumtypesafe.swg │ ├── enumtypeunsafe.swg │ ├── java.swg │ ├── javahead.swg │ ├── javakw.swg │ ├── std_array.i │ ├── std_auto_ptr.i │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_shared_ptr.i │ ├── std_string.i │ ├── std_vector.i │ ├── std_wstring.i │ ├── stl.i │ ├── swiginterface.i │ ├── typemaps.i │ └── various.i ├── javascript │ ├── jsc │ │ ├── arrays_javascript.i │ │ ├── ccomplex.i │ │ ├── cdata.i │ │ ├── complex.i │ │ ├── exception.i │ │ ├── javascript.swg │ │ ├── javascriptcode.swg │ │ ├── javascriptcomplex.swg │ │ ├── javascriptfragments.swg │ │ ├── javascripthelpers.swg │ │ ├── javascriptinit.swg │ │ ├── javascriptkw.swg │ │ ├── javascriptprimtypes.swg │ │ ├── javascriptrun.swg │ │ ├── javascriptruntime.swg │ │ ├── javascriptstrings.swg │ │ ├── javascripttypemaps.swg │ │ ├── std_common.i │ │ ├── std_complex.i │ │ ├── std_deque.i │ │ ├── std_except.i │ │ ├── std_map.i │ │ ├── std_pair.i │ │ ├── std_string.i │ │ ├── std_vector.i │ │ ├── stl.i │ │ └── typemaps.i │ └── v8 │ │ ├── arrays_javascript.i │ │ ├── ccomplex.i │ │ ├── cdata.i │ │ ├── complex.i │ │ ├── exception.i │ │ ├── javascript.swg │ │ ├── javascriptcode.swg │ │ ├── javascriptcomplex.swg │ │ ├── javascriptfragments.swg │ │ ├── javascripthelpers.swg │ │ ├── javascriptinit.swg │ │ ├── javascriptkw.swg │ │ ├── javascriptprimtypes.swg │ │ ├── javascriptrun.swg │ │ ├── javascriptruntime.swg │ │ ├── javascriptstrings.swg │ │ ├── javascripttypemaps.swg │ │ ├── std_common.i │ │ ├── std_complex.i │ │ ├── std_deque.i │ │ ├── std_except.i │ │ ├── std_map.i │ │ ├── std_pair.i │ │ ├── std_string.i │ │ ├── std_vector.i │ │ ├── stl.i │ │ └── typemaps.i ├── linkruntime.c ├── lua │ ├── _std_common.i │ ├── carrays.i │ ├── factory.i │ ├── lua.swg │ ├── lua_fnptr.i │ ├── luakw.swg │ ├── luarun.swg │ ├── luaruntime.swg │ ├── luatypemaps.swg │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ ├── typemaps.i │ └── wchar.i ├── math.i ├── matlab │ ├── attribute.i │ ├── boost_shared_ptr.i │ ├── carrays.i │ ├── cdata.i │ ├── cmalloc.i │ ├── director.swg │ ├── exception.i │ ├── factory.i │ ├── implicit.i │ ├── matlab.swg │ ├── matlabcomplex.swg │ ├── matlabcontainer.swg │ ├── matlabfragments.swg │ ├── matlabiterators.swg │ ├── matlabkw.swg │ ├── matlabopers.swg │ ├── matlabprimtypes.swg │ ├── matlabrun.swg │ ├── matlabruntime.swg │ ├── matlabstdcommon.swg │ ├── matlabtypemaps.swg │ ├── matlabuserdir.swg │ ├── std_alloc.i │ ├── std_basic_string.i │ ├── std_carray.i │ ├── std_char_traits.i │ ├── std_common.i │ ├── std_complex.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_ios.i │ ├── std_iostream.i │ ├── std_list.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── modula3 │ ├── modula3.swg │ ├── modula3head.swg │ └── typemaps.i ├── mzscheme │ ├── Makefile │ ├── mzrun.swg │ ├── mzscheme.swg │ ├── std_common.i │ ├── std_deque.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── ocaml │ ├── carray.i │ ├── class.swg │ ├── cstring.i │ ├── director.swg │ ├── extra-install.list │ ├── libswigocaml.h │ ├── ocaml.i │ ├── ocaml.swg │ ├── ocamldec.swg │ ├── ocamlkw.swg │ ├── preamble.swg │ ├── std_common.i │ ├── std_complex.i │ ├── std_deque.i │ ├── std_list.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ ├── swig.ml │ ├── swig.mli │ ├── swigp4.ml │ ├── typecheck.i │ ├── typemaps.i │ └── typeregister.swg ├── octave │ ├── attribute.i │ ├── boost_shared_ptr.i │ ├── carrays.i │ ├── cdata.i │ ├── cmalloc.i │ ├── director.swg │ ├── exception.i │ ├── factory.i │ ├── implicit.i │ ├── octave.swg │ ├── octcomplex.swg │ ├── octcontainer.swg │ ├── octfragments.swg │ ├── octiterators.swg │ ├── octopers.swg │ ├── octprimtypes.swg │ ├── octrun.swg │ ├── octruntime.swg │ ├── octstdcommon.swg │ ├── octtypemaps.swg │ ├── octuserdir.swg │ ├── std_alloc.i │ ├── std_basic_string.i │ ├── std_carray.i │ ├── std_char_traits.i │ ├── std_common.i │ ├── std_complex.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_list.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_shared_ptr.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── perl5 │ ├── Makefile.in │ ├── Makefile.pl │ ├── attribute.i │ ├── carrays.i │ ├── cdata.i │ ├── cmalloc.i │ ├── cni.i │ ├── cpointer.i │ ├── cstring.i │ ├── director.swg │ ├── exception.i │ ├── extra-install.list │ ├── factory.i │ ├── jstring.i │ ├── noembed.h │ ├── perl5.swg │ ├── perlerrors.swg │ ├── perlfragments.swg │ ├── perlhead.swg │ ├── perlinit.swg │ ├── perlkw.swg │ ├── perlmacros.swg │ ├── perlmain.i │ ├── perlopers.swg │ ├── perlprimtypes.swg │ ├── perlrun.swg │ ├── perlruntime.swg │ ├── perlstrings.swg │ ├── perltypemaps.swg │ ├── perluserdir.swg │ ├── reference.i │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_list.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── php │ ├── const.i │ ├── director.swg │ ├── factory.i │ ├── globalvar.i │ ├── php.swg │ ├── phpinit.swg │ ├── phpkw.swg │ ├── phppointers.i │ ├── phprun.swg │ ├── std_common.i │ ├── std_deque.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ ├── typemaps.i │ └── utils.i ├── pike │ ├── pike.swg │ ├── pikekw.swg │ ├── pikerun.swg │ └── std_string.i ├── pointer.i ├── python │ ├── Makefile.in │ ├── README │ ├── argcargv.i │ ├── attribute.i │ ├── boost_shared_ptr.i │ ├── builtin.swg │ ├── carrays.i │ ├── ccomplex.i │ ├── cdata.i │ ├── cmalloc.i │ ├── cni.i │ ├── complex.i │ ├── cpointer.i │ ├── cstring.i │ ├── cwstring.i │ ├── defarg.swg │ ├── director.swg │ ├── embed.i │ ├── exception.i │ ├── factory.i │ ├── file.i │ ├── implicit.i │ ├── jstring.i │ ├── pyabc.i │ ├── pyapi.swg │ ├── pybackward.swg │ ├── pybuffer.i │ ├── pyclasses.swg │ ├── pycomplex.swg │ ├── pycontainer.swg │ ├── pydocs.swg │ ├── pyerrors.swg │ ├── pyfragments.swg │ ├── pyhead.swg │ ├── pyinit.swg │ ├── pyiterators.swg │ ├── pymacros.swg │ ├── pyname_compat.i │ ├── pyopers.swg │ ├── pyprimtypes.swg │ ├── pyrun.swg │ ├── pyruntime.swg │ ├── pystdcommon.swg │ ├── pystrings.swg │ ├── python.swg │ ├── pythonkw.swg │ ├── pythreads.swg │ ├── pytuplehlp.swg │ ├── pytypemaps.swg │ ├── pyuserdir.swg │ ├── pywstrings.swg │ ├── std_alloc.i │ ├── std_array.i │ ├── std_auto_ptr.i │ ├── std_basic_string.i │ ├── std_carray.i │ ├── std_char_traits.i │ ├── std_common.i │ ├── std_complex.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_ios.i │ ├── std_iostream.i │ ├── std_list.i │ ├── std_map.i │ ├── std_multimap.i │ ├── std_multiset.i │ ├── std_pair.i │ ├── std_set.i │ ├── std_shared_ptr.i │ ├── std_sstream.i │ ├── std_streambuf.i │ ├── std_string.i │ ├── std_unordered_map.i │ ├── std_unordered_multimap.i │ ├── std_unordered_multiset.i │ ├── std_unordered_set.i │ ├── std_vector.i │ ├── std_vectora.i │ ├── std_wios.i │ ├── std_wiostream.i │ ├── std_wsstream.i │ ├── std_wstreambuf.i │ ├── std_wstring.i │ ├── stl.i │ ├── typemaps.i │ └── wchar.i ├── r │ ├── boost_shared_ptr.i │ ├── cdata.i │ ├── exception.i │ ├── r.swg │ ├── rcontainer.swg │ ├── rfragments.swg │ ├── rkw.swg │ ├── ropers.swg │ ├── rrun.swg │ ├── rstdcommon.swg │ ├── rtype.swg │ ├── srun.swg │ ├── std_alloc.i │ ├── std_common.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_list.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── ruby │ ├── Makefile.swig │ ├── argcargv.i │ ├── attribute.i │ ├── boost_shared_ptr.i │ ├── carrays.i │ ├── cdata.i │ ├── cmalloc.i │ ├── cni.i │ ├── cpointer.i │ ├── cstring.i │ ├── director.swg │ ├── embed.i │ ├── exception.i │ ├── extconf.rb │ ├── extra-install.list │ ├── factory.i │ ├── file.i │ ├── jstring.i │ ├── progargcargv.i │ ├── ruby.swg │ ├── rubyapi.swg │ ├── rubyautodoc.swg │ ├── rubyclasses.swg │ ├── rubycomplex.swg │ ├── rubycontainer.swg │ ├── rubycontainer_extended.swg │ ├── rubydef.swg │ ├── rubyerrors.swg │ ├── rubyfragments.swg │ ├── rubyhead.swg │ ├── rubyinit.swg │ ├── rubyiterators.swg │ ├── rubykw.swg │ ├── rubymacros.swg │ ├── rubyopers.swg │ ├── rubyprimtypes.swg │ ├── rubyrun.swg │ ├── rubyruntime.swg │ ├── rubystdautodoc.swg │ ├── rubystdcommon.swg │ ├── rubystdfunctors.swg │ ├── rubystrings.swg │ ├── rubytracking.swg │ ├── rubytypemaps.swg │ ├── rubyuserdir.swg │ ├── rubywstrings.swg │ ├── std_alloc.i │ ├── std_array.i │ ├── std_basic_string.i │ ├── std_char_traits.i │ ├── std_common.i │ ├── std_complex.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_functors.i │ ├── std_ios.i │ ├── std_iostream.i │ ├── std_list.i │ ├── std_map.i │ ├── std_multimap.i │ ├── std_multiset.i │ ├── std_pair.i │ ├── std_queue.i │ ├── std_set.i │ ├── std_shared_ptr.i │ ├── std_sstream.i │ ├── std_stack.i │ ├── std_streambuf.i │ ├── std_string.i │ ├── std_vector.i │ ├── std_vectora.i │ ├── std_wstring.i │ ├── stl.i │ ├── timeval.i │ └── typemaps.i ├── runtime.swg ├── scilab │ ├── boost_shared_ptr.i │ ├── carrays.i │ ├── cmalloc.i │ ├── cpointer.i │ ├── exception.i │ ├── matrix.i │ ├── sciarray.swg │ ├── scibool.swg │ ├── scichar.swg │ ├── scicontainer.swg │ ├── scidouble.swg │ ├── scienum.swg │ ├── sciexception.swg │ ├── scifloat.swg │ ├── sciint.swg │ ├── sciiterators.swg │ ├── scilab.swg │ ├── scilist.swg │ ├── scilong.swg │ ├── scilonglong.swg │ ├── scimacros.swg │ ├── scimatrixbool.swg │ ├── scimatrixchar.swg │ ├── scimatrixdouble.swg │ ├── scimatrixint.swg │ ├── scimisctypes.swg │ ├── scipointer.swg │ ├── sciprimtypes.swg │ ├── scirun.swg │ ├── sciruntime.swg │ ├── scisequence.swg │ ├── scisequencebool.swg │ ├── scisequencedouble.swg │ ├── scisequencefloat.swg │ ├── scisequenceint.swg │ ├── scisequencepointer.swg │ ├── scisequencestring.swg │ ├── scishort.swg │ ├── scisignedchar.swg │ ├── scistdcommon.swg │ ├── scitypemaps.swg │ ├── sciunsignedchar.swg │ ├── sciunsignedint.swg │ ├── sciunsignedlong.swg │ ├── sciunsignedshort.swg │ ├── std_alloc.i │ ├── std_basic_string.i │ ├── std_char_traits.i │ ├── std_common.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_list.i │ ├── std_map.i │ ├── std_multiset.i │ ├── std_pair.i │ ├── std_set.i │ ├── std_string.i │ ├── std_vector.i │ ├── stl.i │ └── typemaps.i ├── shared_ptr.i ├── std │ ├── README │ ├── _std_deque.i │ ├── std_alloc.i │ ├── std_array.i │ ├── std_basic_string.i │ ├── std_carray.swg │ ├── std_char_traits.i │ ├── std_common.i │ ├── std_container.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_ios.i │ ├── std_iostream.i │ ├── std_list.i │ ├── std_map.i │ ├── std_multimap.i │ ├── std_multiset.i │ ├── std_pair.i │ ├── std_queue.i │ ├── std_set.i │ ├── std_sstream.i │ ├── std_stack.i │ ├── std_streambuf.i │ ├── std_string.i │ ├── std_unordered_map.i │ ├── std_unordered_multimap.i │ ├── std_unordered_multiset.i │ ├── std_unordered_set.i │ ├── std_vector.i │ ├── std_vectora.i │ ├── std_wios.i │ ├── std_wiostream.i │ ├── std_wsstream.i │ ├── std_wstreambuf.i │ └── std_wstring.i ├── std_except.i ├── stdint.i ├── stl.i ├── swig.swg ├── swigarch.i ├── swigerrors.swg ├── swiginit.swg ├── swiglabels.swg ├── swigrun.i ├── swigrun.swg ├── swigwarnings.swg ├── tcl │ ├── Makefile.in │ ├── attribute.i │ ├── carrays.i │ ├── cdata.i │ ├── cmalloc.i │ ├── cni.i │ ├── cpointer.i │ ├── cstring.i │ ├── cwstring.i │ ├── exception.i │ ├── factory.i │ ├── jstring.i │ ├── mactkinit.c │ ├── std_common.i │ ├── std_deque.i │ ├── std_except.i │ ├── std_map.i │ ├── std_pair.i │ ├── std_string.i │ ├── std_vector.i │ ├── std_wstring.i │ ├── stl.i │ ├── tcl8.swg │ ├── tclapi.swg │ ├── tclerrors.swg │ ├── tclfragments.swg │ ├── tclinit.swg │ ├── tclinterp.i │ ├── tclkw.swg │ ├── tclmacros.swg │ ├── tclopers.swg │ ├── tclprimtypes.swg │ ├── tclresult.i │ ├── tclrun.swg │ ├── tclruntime.swg │ ├── tclsh.i │ ├── tclstrings.swg │ ├── tcltypemaps.swg │ ├── tcluserdir.swg │ ├── tclwstrings.swg │ ├── typemaps.i │ └── wish.i ├── typemaps │ ├── README │ ├── attribute.swg │ ├── carrays.swg │ ├── cdata.swg │ ├── cmalloc.swg │ ├── cpointer.swg │ ├── cstring.swg │ ├── cstrings.swg │ ├── cwstring.swg │ ├── enumint.swg │ ├── exception.swg │ ├── factory.swg │ ├── fragments.swg │ ├── implicit.swg │ ├── inoutlist.swg │ ├── misctypes.swg │ ├── primtypes.swg │ ├── ptrtypes.swg │ ├── std_except.swg │ ├── std_string.swg │ ├── std_strings.swg │ ├── std_wstring.swg │ ├── string.swg │ ├── strings.swg │ ├── swigmacros.swg │ ├── swigobject.swg │ ├── swigtype.swg │ ├── swigtypemaps.swg │ ├── traits.swg │ ├── typemaps.swg │ ├── valtypes.swg │ ├── void.swg │ └── wstring.swg ├── uffi │ └── uffi.swg ├── wchar.i ├── windows.i └── xml │ ├── typemaps.i │ └── xml.swg ├── Makefile.in ├── README ├── RELEASENOTES ├── Source ├── CParse │ ├── cparse.h │ ├── cscanner.c │ ├── parser.y │ ├── templ.c │ └── util.c ├── DOH │ ├── README │ ├── base.c │ ├── doh.h │ ├── dohint.h │ ├── file.c │ ├── fio.c │ ├── hash.c │ ├── list.c │ ├── memory.c │ ├── string.c │ └── void.c ├── Include │ └── swigwarn.h ├── Makefile.am ├── Modules │ ├── README │ ├── allegrocl.cxx │ ├── allocate.cxx │ ├── browser.cxx │ ├── cffi.cxx │ ├── chicken.cxx │ ├── clisp.cxx │ ├── contract.cxx │ ├── csharp.cxx │ ├── d.cxx │ ├── directors.cxx │ ├── emit.cxx │ ├── go.cxx │ ├── guile.cxx │ ├── interface.cxx │ ├── java.cxx │ ├── javascript.cxx │ ├── lang.cxx │ ├── lua.cxx │ ├── main.cxx │ ├── matlab.cxx │ ├── modula3.cxx │ ├── module.cxx │ ├── mzscheme.cxx │ ├── nested.cxx │ ├── ocaml.cxx │ ├── octave.cxx │ ├── overload.cxx │ ├── perl5.cxx │ ├── php.cxx │ ├── pike.cxx │ ├── python.cxx │ ├── r.cxx │ ├── ruby.cxx │ ├── s-exp.cxx │ ├── scilab.cxx │ ├── swigmain.cxx │ ├── swigmod.h │ ├── tcl8.cxx │ ├── typepass.cxx │ ├── uffi.cxx │ ├── utils.cxx │ └── xml.cxx ├── Preprocessor │ ├── cpp.c │ ├── expr.c │ └── preprocessor.h ├── README └── Swig │ ├── cwrap.c │ ├── deprecate.c │ ├── error.c │ ├── extend.c │ ├── fragment.c │ ├── getopt.c │ ├── include.c │ ├── misc.c │ ├── naming.c │ ├── parms.c │ ├── scanner.c │ ├── stype.c │ ├── swig.h │ ├── swigfile.h │ ├── swigopt.h │ ├── swigparm.h │ ├── swigscan.h │ ├── swigtree.h │ ├── swigwrap.h │ ├── symbol.c │ ├── tree.c │ ├── typemap.c │ ├── typeobj.c │ ├── typesys.c │ └── wrapfunc.c ├── TODO ├── Tools ├── brew-install ├── capitalize ├── check-include-path.pike ├── config │ ├── ac_compile_warnings.m4 │ ├── ac_define_dir.m4 │ ├── ax_boost_base.m4 │ ├── ax_compare_version.m4 │ ├── ax_cxx_compile_stdcxx_11.m4 │ └── ax_path_generic.m4 ├── convertpath ├── javascript │ ├── Makefile.in │ ├── javascript.cxx │ ├── js_shell.cxx │ ├── js_shell.h │ ├── jsc_shell.cxx │ └── v8_shell.cxx ├── mkdist.py ├── mkrelease.py ├── mkwindows.sh ├── nuget-install.cmd ├── obs-buildlogs.py ├── obs-update ├── pcre-build.sh ├── pyname_patch.py ├── setup.py.tmpl ├── swig.gdb ├── testflags.py ├── travis-linux-install.sh ├── travis-osx-install.sh └── vcfilter ├── Win └── README.txt ├── appveyor.yml ├── autogen.sh ├── configure.ac ├── debian ├── README ├── changelog ├── control ├── copyright ├── dirs ├── docs ├── postinst ├── rules └── substvars ├── preinst-swig.in ├── swig.spec.in └── vms ├── aaareadme.txt ├── build_end.com ├── build_init.com ├── build_swig.com ├── genbuild.py ├── logicals.com ├── scripts ├── build_all.com ├── compil_cparse.com ├── compil_doh.com ├── compil_modules1_1.com ├── compil_preprocessor.com └── compil_swig.com └── swigconfig.h /CCache/ccache_swig_config.h.in: -------------------------------------------------------------------------------- 1 | #define SWIG_VERSION "@PACKAGE_VERSION@" 2 | -------------------------------------------------------------------------------- /CCache/debian/compat: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /CCache/debian/dirs: -------------------------------------------------------------------------------- 1 | usr/bin 2 | usr/lib/ccache 3 | usr/share/man/man1 4 | -------------------------------------------------------------------------------- /CCache/debian/docs: -------------------------------------------------------------------------------- 1 | README 2 | -------------------------------------------------------------------------------- /CCache/debian/examples: -------------------------------------------------------------------------------- 1 | debian/update-ccache 2 | manage-cache.sh 3 | -------------------------------------------------------------------------------- /CCache/debian/patches/CREDITS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/CCache/debian/patches/CREDITS -------------------------------------------------------------------------------- /CCache/debian/watch: -------------------------------------------------------------------------------- 1 | version=2 2 | http://samba.org/ftp/ccache/ccache-(.*)\.tar\.gz 3 | -------------------------------------------------------------------------------- /CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/CHANGES -------------------------------------------------------------------------------- /Doc/Manual/android-class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Doc/Manual/android-class.png -------------------------------------------------------------------------------- /Doc/Manual/android-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Doc/Manual/android-simple.png -------------------------------------------------------------------------------- /Doc/Manual/ch2.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Doc/Manual/ch2.1.png -------------------------------------------------------------------------------- /Doc/Manual/linkchecker.config: -------------------------------------------------------------------------------- 1 | [filtering] 2 | ignorewarnings=http-robots-denied 3 | ignorewarnings=https-certificate-error 4 | -------------------------------------------------------------------------------- /Doc/Manual/swig16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Doc/Manual/swig16.png -------------------------------------------------------------------------------- /Examples/android/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | class 3 | extend 4 | simple 5 | -------------------------------------------------------------------------------- /Examples/android/class/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SwigClass 4 | 5 | -------------------------------------------------------------------------------- /Examples/android/extend/jni/Application.mk: -------------------------------------------------------------------------------- 1 | # File: Application.mk 2 | APP_STL := gnustl_static 3 | -------------------------------------------------------------------------------- /Examples/android/extend/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SwigExtend 4 | 5 | -------------------------------------------------------------------------------- /Examples/android/simple/jni/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/android/simple/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SwigSimple 4 | 5 | -------------------------------------------------------------------------------- /Examples/chicken/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | class 3 | constants 4 | multimap 5 | overload 6 | simple 7 | -------------------------------------------------------------------------------- /Examples/chicken/egg/mod1.i: -------------------------------------------------------------------------------- 1 | %module mod1 2 | 3 | %inline %{ 4 | class Bar { 5 | public: 6 | int b; 7 | }; 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/chicken/egg/multi.setup: -------------------------------------------------------------------------------- 1 | (run (csc -s -o multi.so multi_init.scm mod1.scm mod1_wrap.cxx mod2.scm mod2_wrap.cxx)) 2 | (install-extension 'multi '("multi.so")) 3 | -------------------------------------------------------------------------------- /Examples/chicken/egg/multi_init.scm: -------------------------------------------------------------------------------- 1 | (declare (uses mod1)) 2 | (declare (uses mod2)) 3 | -------------------------------------------------------------------------------- /Examples/chicken/egg/single.i: -------------------------------------------------------------------------------- 1 | %module single 2 | 3 | %inline %{ 4 | class Foo { 5 | public: 6 | int a; 7 | }; 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/chicken/egg/single.setup: -------------------------------------------------------------------------------- 1 | (run (csc -s -o single.so single.scm single_wrap.cxx)) 2 | (install-extension 'single '("single.so")) 3 | -------------------------------------------------------------------------------- /Examples/chicken/overload/README: -------------------------------------------------------------------------------- 1 | Overloading example from Chapter 5.14 of SWIG Core Documentation for 2 | version 1.3. 3 | -------------------------------------------------------------------------------- /Examples/chicken/simple/README: -------------------------------------------------------------------------------- 1 | Simple example from users manual. 2 | -------------------------------------------------------------------------------- /Examples/csharp/arrays/example.h: -------------------------------------------------------------------------------- 1 | 2 | void myArrayCopy( int *sourceArray, int* targetArray, int nitems ); 3 | void myArraySwap( int* array1, int* array2, int nitems ); 4 | 5 | -------------------------------------------------------------------------------- /Examples/csharp/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/csharp/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | arrays 3 | callback 4 | class 5 | enum 6 | extend 7 | funcptr 8 | nested 9 | reference 10 | simple 11 | template 12 | variables 13 | -------------------------------------------------------------------------------- /Examples/csharp/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/csharp/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/csharp/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/d/callback/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/d/check.list: -------------------------------------------------------------------------------- 1 | # See top-level Makefile.in. 2 | callback 3 | class 4 | constants 5 | enum 6 | extend 7 | funcptr 8 | simple 9 | variables 10 | -------------------------------------------------------------------------------- /Examples/d/class/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/class/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %{ 5 | #include "example.h" 6 | %} 7 | 8 | /* Let's just grab the original header file here */ 9 | %include "example.h" 10 | -------------------------------------------------------------------------------- /Examples/d/constants/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/enum/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/extend/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/d/funcptr/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/simple/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/d/variables/Makefile: -------------------------------------------------------------------------------- 1 | include ../example.mk 2 | -------------------------------------------------------------------------------- /Examples/d/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/go/callback/callback.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/go/extend/extend.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/go/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/go/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/guile/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | constants 3 | class 4 | port 5 | simple 6 | std_vector 7 | matrix 8 | multimap 9 | multivalue 10 | -------------------------------------------------------------------------------- /Examples/guile/matrix/vector.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | typedef struct { 5 | double x; 6 | double y; 7 | double z; 8 | double w; 9 | } Vector; 10 | 11 | -------------------------------------------------------------------------------- /Examples/guile/port/README: -------------------------------------------------------------------------------- 1 | This example illustrates the translation from Scheme file ports to 2 | temporary FILE streams. Read the source and run ./my-guile -s runme.scm 3 | -------------------------------------------------------------------------------- /Examples/java/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/java/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/java/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/java/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/javascript/check.list: -------------------------------------------------------------------------------- 1 | class 2 | constant 3 | enum 4 | exception 5 | functor 6 | nspace 7 | operator 8 | overload 9 | pointer 10 | #reference 11 | simple 12 | template 13 | variables 14 | -------------------------------------------------------------------------------- /Examples/javascript/class/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/class/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/constant/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/constant/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/enum/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/enum/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/exception/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/exception/example.cxx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Examples/javascript/exception/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/functor/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/functor/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/nspace/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/nspace/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %{ 4 | #include "example.h" 5 | %} 6 | 7 | %nspace MyWorld::Nested::Dweller; 8 | %nspace MyWorld::World; 9 | 10 | %include "example.h" 11 | -------------------------------------------------------------------------------- /Examples/javascript/nspace/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/operator/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/operator/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/overload/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/overload/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/pointer/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/pointer/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/reference/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/reference/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/simple/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/javascript/simple/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/template/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/template/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/javascript/variables/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/javascript/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/javascript/variables/example.js: -------------------------------------------------------------------------------- 1 | module.exports = require("build/Release/example"); 2 | -------------------------------------------------------------------------------- /Examples/lua/dual/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | 6 | struct Foo{ 7 | int i; 8 | }; 9 | 10 | %} 11 | -------------------------------------------------------------------------------- /Examples/lua/dual/example2.i: -------------------------------------------------------------------------------- 1 | /* File : example2.i */ 2 | %module example2 3 | 4 | %inline %{ 5 | 6 | struct Bar{ 7 | int i; 8 | }; 9 | 10 | %} 11 | -------------------------------------------------------------------------------- /Examples/lua/embed/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | extern void greeting(); 8 | %} -------------------------------------------------------------------------------- /Examples/lua/embed2/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | extern void greeting(); 8 | %} -------------------------------------------------------------------------------- /Examples/lua/embed3/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %{ 5 | #include "example.h" 6 | %} 7 | 8 | %include "example.h" 9 | -------------------------------------------------------------------------------- /Examples/lua/import/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/lua/import/base.i: -------------------------------------------------------------------------------- 1 | %module base 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | -------------------------------------------------------------------------------- /Examples/lua/import/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | -------------------------------------------------------------------------------- /Examples/lua/import/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/lua/nspace/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %{ 4 | #include "example.h" 5 | %} 6 | 7 | %nspace MyWorld::Nested::Dweller; 8 | %nspace MyWorld::World; 9 | 10 | %include "example.h" 11 | -------------------------------------------------------------------------------- /Examples/lua/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} -------------------------------------------------------------------------------- /Examples/lua/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/matlab/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | -------------------------------------------------------------------------------- /Examples/matlab/modules/base.h: -------------------------------------------------------------------------------- 1 | class base { 2 | public: 3 | int foo(); 4 | }; 5 | -------------------------------------------------------------------------------- /Examples/matlab/modules/base_module.i: -------------------------------------------------------------------------------- 1 | %module base_module 2 | 3 | %{ 4 | #include "base.h" 5 | %} 6 | %include "base.h" 7 | -------------------------------------------------------------------------------- /Examples/matlab/modules/derived_module.i: -------------------------------------------------------------------------------- 1 | %module derived_module 2 | 3 | %import "base_module.i" 4 | 5 | %inline %{ 6 | class derived : public base { 7 | public: 8 | int bar(); 9 | }; 10 | %} 11 | -------------------------------------------------------------------------------- /Examples/matlab/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module swigexample 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/matlab/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | -------------------------------------------------------------------------------- /Examples/modula3/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | class 3 | enum 4 | exception 5 | reference 6 | simple 7 | typemap 8 | -------------------------------------------------------------------------------- /Examples/modula3/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module Example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/mzscheme/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | multimap 3 | simple 4 | std_vector 5 | -------------------------------------------------------------------------------- /Examples/mzscheme/simple/README: -------------------------------------------------------------------------------- 1 | Simple example from users manual. 2 | -------------------------------------------------------------------------------- /Examples/ocaml/argout_ref/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %{ 5 | extern "C" void factor(int &x, int &y); 6 | %} 7 | 8 | extern "C" void factor(int &x, int &y); 9 | -------------------------------------------------------------------------------- /Examples/ocaml/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | simple 3 | std_string 4 | std_vector 5 | stl 6 | argout_ref 7 | shapes 8 | contract 9 | scoped_enum 10 | string_from_ptr 11 | -------------------------------------------------------------------------------- /Examples/ocaml/scoped_enum/README: -------------------------------------------------------------------------------- 1 | This tests our handling of scoped enums. Run with argument Tag1 or Tag2. -------------------------------------------------------------------------------- /Examples/ocaml/scoped_enum/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %{ 4 | #include "foo.h" 5 | %} 6 | 7 | %include "foo.h" -------------------------------------------------------------------------------- /Examples/ocaml/scoped_enum/example_prog.ml: -------------------------------------------------------------------------------- 1 | open Swig 2 | open Example 3 | 4 | let _ = _f (match Sys.argv.(1) with "Tag1" -> ``Tag1 | _ -> ``Tag2) 5 | -------------------------------------------------------------------------------- /Examples/ocaml/scoped_enum/foo.h: -------------------------------------------------------------------------------- 1 | namespace foo { 2 | enum Bar { Tag1, Tag2 }; 3 | static void f( Bar b ) { printf( "b = %d\n", (int)b ); } 4 | } 5 | 6 | -------------------------------------------------------------------------------- /Examples/ocaml/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/octave/callback/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | -------------------------------------------------------------------------------- /Examples/octave/class/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/constants/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/contract/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.c 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/enum/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/extend/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | -------------------------------------------------------------------------------- /Examples/octave/funcptr/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.c 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/funcptr2/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.c 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/functor/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/module_load/example.c: -------------------------------------------------------------------------------- 1 | /* File : example.c */ 2 | 3 | #include "example.h" 4 | 5 | int ivar = 47; 6 | 7 | int ifunc() { 8 | return ivar; 9 | } 10 | -------------------------------------------------------------------------------- /Examples/octave/module_load/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | extern int ivar; 4 | 5 | int ifunc(); 6 | -------------------------------------------------------------------------------- /Examples/octave/operator/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/pointer/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.c 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/reference/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = example.cxx 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/simple/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.c 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module swigexample 3 | 4 | %feature("autodoc", 1); 5 | 6 | %inline %{ 7 | extern int gcd(int x, int y); 8 | extern double Foo; 9 | %} 10 | -------------------------------------------------------------------------------- /Examples/octave/template/Makefile: -------------------------------------------------------------------------------- 1 | CXXSRCS = 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/variables/Makefile: -------------------------------------------------------------------------------- 1 | SRCS = example.c 2 | 3 | include $(SRCDIR)../example.mk 4 | -------------------------------------------------------------------------------- /Examples/octave/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | -------------------------------------------------------------------------------- /Examples/perl5/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/perl5/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/perl5/import/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/perl5/import/base.i: -------------------------------------------------------------------------------- 1 | %module baseclass 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | -------------------------------------------------------------------------------- /Examples/perl5/import/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | -------------------------------------------------------------------------------- /Examples/perl5/import/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/perl5/inline/Makefile: -------------------------------------------------------------------------------- 1 | run: 2 | $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' perl5_run 3 | 4 | clean: 5 | $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' perl5_clean 6 | rm -rf _Inline 7 | -------------------------------------------------------------------------------- /Examples/perl5/inline/README: -------------------------------------------------------------------------------- 1 | This example requires the Inline::SWIG package. 2 | 3 | -------------------------------------------------------------------------------- /Examples/perl5/java/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %include 4 | 5 | %{ 6 | #include "Example.h" 7 | %} 8 | 9 | 10 | %include Example.h 11 | -------------------------------------------------------------------------------- /Examples/perl5/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/perl5/value/example.h: -------------------------------------------------------------------------------- 1 | /* File : example.h */ 2 | 3 | typedef struct { 4 | double x, y, z; 5 | } Vector; 6 | -------------------------------------------------------------------------------- /Examples/perl5/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/perl5/xmlstring/example.cxx: -------------------------------------------------------------------------------- 1 | #include "example.h" 2 | -------------------------------------------------------------------------------- /Examples/perl5/xmlstring/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %include 4 | 5 | %{ 6 | #include "example.h" 7 | %} 8 | 9 | 10 | %include example.h 11 | -------------------------------------------------------------------------------- /Examples/perl5/xmlstring/runme.pl: -------------------------------------------------------------------------------- 1 | use example; 2 | 3 | 4 | $e1 = new example::XMLChTest(); 5 | $e1->set("hello"); 6 | print $e1->get(),"\n"; 7 | print $e1->get_first(),"\n"; 8 | 9 | -------------------------------------------------------------------------------- /Examples/php/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/php/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/php/funcptr/example.h: -------------------------------------------------------------------------------- 1 | /* file: example.h */ 2 | 3 | extern int do_op(int,int, int (*op)(int,int)); 4 | extern int add(int,int); 5 | extern int sub(int,int); 6 | extern int mul(int,int); 7 | 8 | -------------------------------------------------------------------------------- /Examples/php/overloading/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %{ 5 | #include "example.h" 6 | %} 7 | 8 | %include "example.h" 9 | -------------------------------------------------------------------------------- /Examples/php/pragmas/include.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /Examples/php/pragmas/runme.php: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /Examples/php/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | void print_Foo(); 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/php/sync/example.h: -------------------------------------------------------------------------------- 1 | extern char *s; 2 | extern int x; 3 | 4 | class Sync { 5 | public: 6 | int x; 7 | char *s; 8 | void printer(void); 9 | }; 10 | -------------------------------------------------------------------------------- /Examples/php/sync/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %{ 4 | #include "example.h" 5 | %} 6 | 7 | %include "example.h" 8 | -------------------------------------------------------------------------------- /Examples/pike/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | class 3 | constants 4 | enum 5 | overload 6 | simple 7 | template 8 | -------------------------------------------------------------------------------- /Examples/pike/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/python/callback/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/python/docstrings/example.cxx: -------------------------------------------------------------------------------- 1 | #include "example.h" 2 | 3 | void Foo::bar() {} 4 | 5 | -------------------------------------------------------------------------------- /Examples/python/docstrings/example.h: -------------------------------------------------------------------------------- 1 | class Foo { 2 | public: 3 | void bar(); 4 | }; 5 | -------------------------------------------------------------------------------- /Examples/python/docstrings/runme.py: -------------------------------------------------------------------------------- 1 | # file: runme.py 2 | 3 | import example 4 | 5 | print "example.Foo.bar.__doc__ =", repr(example.Foo.bar.__doc__), "(Should be 'No comment')" 6 | -------------------------------------------------------------------------------- /Examples/python/extend/example.cxx: -------------------------------------------------------------------------------- 1 | /* File : example.cxx */ 2 | 3 | #include "example.h" 4 | 5 | -------------------------------------------------------------------------------- /Examples/python/import/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/python/import/base.i: -------------------------------------------------------------------------------- 1 | %module base 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | -------------------------------------------------------------------------------- /Examples/python/import/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | -------------------------------------------------------------------------------- /Examples/python/import/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/python/import_packages/from_init1/py2/__init__.py -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py2/pkg2/__init__.py: -------------------------------------------------------------------------------- 1 | from bar import Pkg2_Bar 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py2/pkg2/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY2_PKG2_FOO_HPP 2 | #define PY2_PKG2_FOO_HPP 3 | struct Pkg2_Foo {}; 4 | #endif /* PY2_PKG2_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py2/pkg2/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="py2.pkg2") foo 2 | %{ 3 | #include "../../py2/pkg2/foo.hpp" 4 | %} 5 | %include "../../py2/pkg2/foo.hpp" 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/python/import_packages/from_init1/py3/__init__.py -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py3/pkg2/__init__.py: -------------------------------------------------------------------------------- 1 | from .bar import Pkg2_Bar 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py3/pkg2/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY3_PKG2_FOO_HPP 2 | #define PY3_PKG2_FOO_HPP 3 | struct Pkg2_Foo {}; 4 | #endif /* PY3_PKG2_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init1/py3/pkg2/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="py3.pkg2") foo 2 | %{ 3 | #include "../../py3/pkg2/foo.hpp" 4 | %} 5 | %include "../../py3/pkg2/foo.hpp" 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/python/import_packages/from_init2/py2/__init__.py -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py2/pkg2/__init__.py: -------------------------------------------------------------------------------- 1 | from bar import Pkg2_Bar 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py2/pkg2/pkg3/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY2_PKG2_PKG3_FOO_HPP 2 | #define PY2_PKG2_PKG3_FOO_HPP 3 | struct Pkg3_Foo {}; 4 | #endif /* PY2_PKG2_PKG3_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py2/pkg2/pkg3/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="py2.pkg2.pkg3") foo 2 | %{ 3 | #include "../../../py2/pkg2/pkg3/foo.hpp" 4 | %} 5 | %include "../../../py2/pkg2/pkg3/foo.hpp" 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/python/import_packages/from_init2/py3/__init__.py -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py3/pkg2/__init__.py: -------------------------------------------------------------------------------- 1 | from .bar import Pkg2_Bar 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py3/pkg2/pkg3/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY3_PKG2_PKG3_FOO_HPP 2 | #define PY3_PKG2_PKG3_FOO_HPP 3 | struct Pkg3_Foo {}; 4 | #endif /* PY3_PKG2_PKG3_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init2/py3/pkg2/pkg3/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="py3.pkg2.pkg3") foo 2 | %{ 3 | #include "../../../py3/pkg2/pkg3/foo.hpp" 4 | %} 5 | %include "../../../py3/pkg2/pkg3/foo.hpp" 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init3/py2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/python/import_packages/from_init3/py2/__init__.py -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init3/py2/pkg2/__init__.py: -------------------------------------------------------------------------------- 1 | from bar import Pkg2_Bar 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init3/py2/pkg2/pkg3/pkg4/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY2_PKG2_PKG3_PKG4 2 | #define PY2_PKG2_PKG3_PKG4 3 | struct Pkg4_Foo {}; 4 | #endif /* PY2_PKG2_PKG3_PKG4 */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init3/py3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/python/import_packages/from_init3/py3/__init__.py -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init3/py3/pkg2/__init__.py: -------------------------------------------------------------------------------- 1 | from .bar import Pkg2_Bar 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/from_init3/py3/pkg2/pkg3/pkg4/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY3_PKG2_PKG3_PKG4 2 | #define PY3_PKG2_PKG3_PKG4 3 | struct Pkg4_Foo {}; 4 | #endif /* PY3_PKG2_PKG3_PKG4 */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/namespace_pkg/nonpkg.py: -------------------------------------------------------------------------------- 1 | # import robin as a module in the global namespace 2 | 3 | import robin 4 | 5 | assert(robin.run() == "AWAY!") 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/namespace_pkg/robin.i: -------------------------------------------------------------------------------- 1 | %module robin 2 | 3 | %inline %{ 4 | const char *run(void) { 5 | return "AWAY!"; 6 | } 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/python/import_packages/relativeimport1/py2/pkg2/pkg3/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY2_PKG2_PKG3_FOO_HPP 2 | #define PY2_PKG2_PKG3_FOO_HPP 3 | struct Pkg3_Foo {}; 4 | #endif /* PY2_PKG2_PKG3_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/relativeimport1/py3/pkg2/pkg3/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY3_PKG2_PKG3_FOO_HPP 2 | #define PY3_PKG2_PKG3_FOO_HPP 3 | struct Pkg3_Foo {}; 4 | #endif /* PY3_PKG2_PKG3_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/relativeimport2/py2/pkg2/pkg3/pkg4/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY2_PKG2_PKG3_PKG4 2 | #define PY2_PKG2_PKG3_PKG4 3 | struct Pkg4_Foo {}; 4 | #endif /* PY2_PKG2_PKG3_PKG4 */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/relativeimport2/py3/pkg2/pkg3/pkg4/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY3_PKG2_PKG3_PKG4 2 | #define PY3_PKG2_PKG3_PKG4 3 | struct Pkg4_Foo {}; 4 | #endif /* PY3_PKG2_PKG3_PKG4 */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/relativeimport3/py2/pkg2/pkg3/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY2_PKG2_PKG3_FOO_HPP 2 | #define PY2_PKG2_PKG3_FOO_HPP 3 | struct Pkg3_Foo {}; 4 | #endif /* PY2_PKG2_PKG3_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/relativeimport3/py3/pkg2/pkg3/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PY3_PKG2_PKG3_FOO_HPP 2 | #define PY3_PKG2_PKG3_FOO_HPP 3 | struct Pkg3_Foo {}; 4 | #endif /* PY3_PKG2_PKG3_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/same_modnames1/pkg1/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PKG1_FOO_HPP 2 | #define PKG1_FOO_HPP 3 | struct Pkg1_Foo{}; 4 | #endif /* PKG1_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/same_modnames1/pkg1/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="pkg1") foo 2 | %{ 3 | #include "../pkg1/foo.hpp" 4 | %} 5 | %include "../pkg1/foo.hpp" 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/same_modnames1/pkg2/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PKG2_FOO_HPP 2 | #define PKG2_FOO_HPP 3 | #include "../pkg1/foo.hpp" 4 | struct Pkg2_Foo : public Pkg1_Foo{}; 5 | #endif /* PKG2_FOO_HPP */ 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/same_modnames1/pkg2/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="pkg2") foo 2 | %{ 3 | #include "../pkg2/foo.hpp" 4 | %} 5 | %import "../pkg1/foo.i" 6 | %include "../pkg2/foo.hpp" 7 | -------------------------------------------------------------------------------- /Examples/python/import_packages/same_modnames2/pkg1/foo.hpp: -------------------------------------------------------------------------------- 1 | #ifndef PKG1_FOO_HPP 2 | #define PKG1_FOO_HPP 3 | struct Pkg1_Foo{}; 4 | #endif /* PKG1_FOO_HPP */ 5 | -------------------------------------------------------------------------------- /Examples/python/import_packages/same_modnames2/pkg1/foo.i: -------------------------------------------------------------------------------- 1 | %module(package="pkg1") foo 2 | %{ 3 | #include "../pkg1/foo.hpp" 4 | %} 5 | %include "../pkg1/foo.hpp" 6 | -------------------------------------------------------------------------------- /Examples/python/import_packages/split_modules/vanilla/pkg1/__init__.py: -------------------------------------------------------------------------------- 1 | # killroy was here 2 | -------------------------------------------------------------------------------- /Examples/python/import_packages/split_modules/vanilla_split/pkg1/__init__.py: -------------------------------------------------------------------------------- 1 | # killroy was here 2 | -------------------------------------------------------------------------------- /Examples/python/import_template/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | %template(intBar) Bar; 10 | 11 | 12 | -------------------------------------------------------------------------------- /Examples/python/import_template/base.i: -------------------------------------------------------------------------------- 1 | %module base 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | %template(intBase) Base; 8 | -------------------------------------------------------------------------------- /Examples/python/import_template/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | %template(intFoo) Foo; 10 | 11 | -------------------------------------------------------------------------------- /Examples/python/import_template/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | %template(intSpam) Spam; 10 | 11 | -------------------------------------------------------------------------------- /Examples/python/performance/constructor/Simple.i: -------------------------------------------------------------------------------- 1 | %inline %{ 2 | class MyClass { 3 | public: 4 | MyClass () {} 5 | ~MyClass () {} 6 | void func () {} 7 | }; 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/python/performance/func/Simple.i: -------------------------------------------------------------------------------- 1 | %inline %{ 2 | class MyClass { 3 | public: 4 | MyClass () {} 5 | ~MyClass () {} 6 | void func () {} 7 | }; 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/python/performance/operator/Simple.i: -------------------------------------------------------------------------------- 1 | %inline %{ 2 | class MyClass { 3 | public: 4 | MyClass () {} 5 | ~MyClass () {} 6 | MyClass& operator+ (int i) { return *this; } 7 | }; 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/python/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/python/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/r/check.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | class 3 | simple 4 | -------------------------------------------------------------------------------- /Examples/r/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/ruby/import/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/ruby/import/base.i: -------------------------------------------------------------------------------- 1 | %module base 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | -------------------------------------------------------------------------------- /Examples/ruby/import/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | -------------------------------------------------------------------------------- /Examples/ruby/import/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/ruby/import_template/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | %template(IntBar) Bar; 10 | 11 | 12 | -------------------------------------------------------------------------------- /Examples/ruby/import_template/base.i: -------------------------------------------------------------------------------- 1 | %module base 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | %template(IntBase) Base; 8 | -------------------------------------------------------------------------------- /Examples/ruby/import_template/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | %template(IntFoo) Foo; 10 | 11 | -------------------------------------------------------------------------------- /Examples/ruby/import_template/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | %template(IntSpam) Spam; 10 | 11 | -------------------------------------------------------------------------------- /Examples/ruby/java/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | %include 3 | 4 | %{ 5 | #include "Example.h" 6 | %} 7 | 8 | 9 | %include Example.h 10 | -------------------------------------------------------------------------------- /Examples/ruby/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/ruby/value/example.h: -------------------------------------------------------------------------------- 1 | /* File : example.h */ 2 | 3 | typedef struct { 4 | double x, y, z; 5 | } Vector; 6 | -------------------------------------------------------------------------------- /Examples/ruby/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/scilab/enum/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %{ 5 | #include "example.h" 6 | %} 7 | 8 | %include "example.h" 9 | 10 | 11 | -------------------------------------------------------------------------------- /Examples/scilab/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/scilab/struct/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | 3 | %rename(Bar) Foo; 4 | 5 | %inline %{ 6 | typedef struct { 7 | int x; 8 | } Foo; 9 | 10 | %} 11 | 12 | -------------------------------------------------------------------------------- /Examples/scilab/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/tcl/import/bar.i: -------------------------------------------------------------------------------- 1 | %module bar 2 | %{ 3 | #include "bar.h" 4 | %} 5 | 6 | %import base.i 7 | %include "bar.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/tcl/import/base.i: -------------------------------------------------------------------------------- 1 | %module base 2 | %{ 3 | #include "base.h" 4 | %} 5 | 6 | %include base.h 7 | -------------------------------------------------------------------------------- /Examples/tcl/import/foo.i: -------------------------------------------------------------------------------- 1 | %module foo 2 | %{ 3 | #include "foo.h" 4 | %} 5 | 6 | %import base.i 7 | %include "foo.h" 8 | 9 | -------------------------------------------------------------------------------- /Examples/tcl/import/spam.i: -------------------------------------------------------------------------------- 1 | %module spam 2 | %{ 3 | #include "spam.h" 4 | %} 5 | 6 | %import bar.i 7 | %include "spam.h" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/tcl/java/example.i: -------------------------------------------------------------------------------- 1 | %module example 2 | %include 3 | 4 | %{ 5 | #include "Example.h" 6 | %} 7 | 8 | %include Example.h 9 | -------------------------------------------------------------------------------- /Examples/tcl/simple/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %inline %{ 5 | extern int gcd(int x, int y); 6 | extern double Foo; 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/tcl/value/example.h: -------------------------------------------------------------------------------- 1 | /* File : example.h */ 2 | 3 | typedef struct { 4 | double x, y, z; 5 | } Vector; 6 | -------------------------------------------------------------------------------- /Examples/tcl/variables/example.h: -------------------------------------------------------------------------------- 1 | /* File: example.h */ 2 | 3 | typedef struct { 4 | int x,y; 5 | } Point; 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/bom_utf8.i: -------------------------------------------------------------------------------- 1 | %module bom_utf8 2 | 3 | /* Test for UTF8 BOM at start of file */ 4 | %inline %{ 5 | struct NotALotHere { 6 | int n; 7 | }; 8 | %} 9 | 10 | -------------------------------------------------------------------------------- /Examples/test-suite/char_constant.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/test-suite/char_constant.i -------------------------------------------------------------------------------- /Examples/test-suite/chartest.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/test-suite/chartest.i -------------------------------------------------------------------------------- /Examples/test-suite/chicken/casts_runme.ss: -------------------------------------------------------------------------------- 1 | (load "casts.so") 2 | (include "../schemerunme/casts.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/char_constant_runme.ss: -------------------------------------------------------------------------------- 1 | (load "char_constant.so") 2 | (include "../schemerunme/char_constant.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/chicken_ext_test_runme.ss: -------------------------------------------------------------------------------- 1 | (load "chicken_ext_test.so") 2 | 3 | (define a (test-create)) 4 | 5 | (A-hello a) 6 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/class_ignore_runme.ss: -------------------------------------------------------------------------------- 1 | (load "class_ignore.so") 2 | (include "../schemerunme/class_ignore.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/constover_runme.ss: -------------------------------------------------------------------------------- 1 | (load "constover.so") 2 | (include "../schemerunme/constover.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/contract_runme.ss: -------------------------------------------------------------------------------- 1 | (load "contract.so") 2 | (include "testsuite.ss") 3 | (include "../schemerunme/contract.scm") 4 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/cpp_enum_runme.ss: -------------------------------------------------------------------------------- 1 | (load "cpp_enum.so") 2 | (include "../schemerunme/cpp_enum.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/cpp_namespace_runme.ss: -------------------------------------------------------------------------------- 1 | (load "cpp_namespace.so") 2 | (include "../schemerunme/cpp_namespace.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/dynamic_cast_runme.ss: -------------------------------------------------------------------------------- 1 | (load "dynamic_cast.so") 2 | (include "../schemerunme/dynamic_cast.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/global_vars_runme.ss: -------------------------------------------------------------------------------- 1 | (require 'global_vars) 2 | (load "../schemerunme/global_vars.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/global_vars_runme_proxy.ss: -------------------------------------------------------------------------------- 1 | (require 'global_vars) 2 | (load "../schemerunme/global_vars_proxy.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/import_nomodule_runme.ss: -------------------------------------------------------------------------------- 1 | (load "import_nomodule.so") 2 | (include "../schemerunme/import_nomodule.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/imports_runme.ss: -------------------------------------------------------------------------------- 1 | (load "imports_a.so") 2 | (load "imports_b.so") 3 | (include "../schemerunme/imports.scm") 4 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/inherit_missing_runme.ss: -------------------------------------------------------------------------------- 1 | (load "inherit_missing.so") 2 | (include "../schemerunme/inherit_missing.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/li_std_string_runme.ss: -------------------------------------------------------------------------------- 1 | (load "li_std_string.so") 2 | (include "../schemerunme/li_std_string.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/list_vector_runme.ss: -------------------------------------------------------------------------------- 1 | (load "list_vector.so") 2 | (include "../schemerunme/list_vector.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/multiple_inheritance_runme_proxy.ss: -------------------------------------------------------------------------------- 1 | (require 'multiple_inheritance) 2 | (load "../schemerunme/multiple_inheritance_proxy.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/multivalue_runme.ss: -------------------------------------------------------------------------------- 1 | ;; this doesn't work yet :( 2 | (load "multivalue.so") 3 | (include "../schemerunme/multivalue.scm") 4 | (exit 0) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/name_runme.ss: -------------------------------------------------------------------------------- 1 | (load "name.so") 2 | (include "../schemerunme/name.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_complicated_runme.ss: -------------------------------------------------------------------------------- 1 | (load "overload_complicated.so") 2 | (include "../schemerunme/overload_complicated.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_copy_runme.ss: -------------------------------------------------------------------------------- 1 | (load "overload_copy.so") 2 | (include "../schemerunme/overload_copy.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_copy_runme_proxy.ss: -------------------------------------------------------------------------------- 1 | (load "./overload_copy.so") 2 | 3 | (define f (make )) 4 | (define g (make f)) 5 | 6 | (exit 0) 7 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_extend_c_runme.ss: -------------------------------------------------------------------------------- 1 | (load "overload_extend_c.so") 2 | (include "../schemerunme/overload_extend_c.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_extend_runme.ss: -------------------------------------------------------------------------------- 1 | (load "overload_extend.so") 2 | (include "../schemerunme/overload_extend.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_simple_runme.ss: -------------------------------------------------------------------------------- 1 | (load "overload_simple.so") 2 | (include "../schemerunme/overload_simple.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/overload_subtype_runme.ss: -------------------------------------------------------------------------------- 1 | (load "overload_subtype.so") 2 | (include "../schemerunme/overload_subtype.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/pointer_in_out_runme.ss: -------------------------------------------------------------------------------- 1 | (load "pointer_in_out.so") 2 | (include "../schemerunme/pointer_in_out.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/reference_global_vars_runme.ss: -------------------------------------------------------------------------------- 1 | (load "reference_global_vars.so") 2 | (include "../schemerunme/reference_global_vars.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/typedef_inherit_runme.ss: -------------------------------------------------------------------------------- 1 | (load "typedef_inherit.so") 2 | (include "../schemerunme/typedef_inherit.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/typename_runme.ss: -------------------------------------------------------------------------------- 1 | (load "typename.so") 2 | (include "../schemerunme/typename.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/unions_runme.ss: -------------------------------------------------------------------------------- 1 | (load "unions.so") 2 | (include "../schemerunme/unions.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/chicken/unions_runme_proxy.ss: -------------------------------------------------------------------------------- 1 | (load "unions.so") 2 | (include "../schemerunme/unions_proxy.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/class_forward.i: -------------------------------------------------------------------------------- 1 | %module class_forward 2 | 3 | %inline %{ 4 | struct A { 5 | class B; 6 | }; 7 | class C : public A { 8 | }; 9 | %} 10 | 11 | -------------------------------------------------------------------------------- /Examples/test-suite/clientdata_prop.list: -------------------------------------------------------------------------------- 1 | clientdata_prop_a 2 | clientdata_prop_b 3 | -------------------------------------------------------------------------------- /Examples/test-suite/cpp11_strongly_typed_enumerations_simple.i: -------------------------------------------------------------------------------- 1 | %module cpp11_strongly_typed_enumerations_simple 2 | 3 | %include 4 | 5 | %include "cpp11_strongly_typed_enumerations.i" 6 | -------------------------------------------------------------------------------- /Examples/test-suite/cpp_broken.i: -------------------------------------------------------------------------------- 1 | %module cpp_broken 2 | 3 | 4 | // bug #940318 5 | %inline %{ 6 | typedef enum { 7 | eZero = 0 8 | #define ONE 1 9 | } EFoo; 10 | %} 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/test-suite/empty.i: -------------------------------------------------------------------------------- 1 | %module empty 2 | -------------------------------------------------------------------------------- /Examples/test-suite/empty_c.i: -------------------------------------------------------------------------------- 1 | %module empty_c 2 | -------------------------------------------------------------------------------- /Examples/test-suite/enum_thorough.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/test-suite/enum_thorough.i -------------------------------------------------------------------------------- /Examples/test-suite/enum_var.i: -------------------------------------------------------------------------------- 1 | %module enum_var 2 | 3 | %inline %{ 4 | 5 | enum Fruit { APPLE, PEAR }; 6 | Fruit test; 7 | 8 | %} 9 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_bad_name.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %name() int foo; 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_bad_name.stderr: -------------------------------------------------------------------------------- 1 | c_bad_name.i:3: Warning 121: %name is deprecated. Use %rename instead. 2 | c_bad_name.i:3: Error: Missing argument to %name directive. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_bad_native.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %native(foo) int foo; 4 | 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_bad_native.stderr: -------------------------------------------------------------------------------- 1 | c_bad_native.i:3: Error: %native declaration 'foo' is not a function. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_class.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int class(int x); 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_class.stderr: -------------------------------------------------------------------------------- 1 | c_class.i:3: Warning 301: class keyword used, but not in C++ mode. 2 | c_class.i:3: Warning 314: 'class' is a python keyword, renaming to '_class' 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_deprecated.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(%val int *x, %out int *y); 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_deprecated.stderr: -------------------------------------------------------------------------------- 1 | c_deprecated.i:3: Warning 102: %val directive deprecated (ignored). 2 | c_deprecated.i:3: Warning 103: %out directive deprecated (ignored). 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_empty_char.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(int x = ''); 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_empty_char.stderr: -------------------------------------------------------------------------------- 1 | c_empty_char.i:3: Error: Empty character constant 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_enum_badvalue.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | enum stuff { 4 | FOO = 'x', 5 | BAR = 3.14159 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_enum_badvalue.stderr: -------------------------------------------------------------------------------- 1 | c_enum_badvalue.i:6: Error: Type error. Expecting an integral type 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_extra_rblock.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(int x); 4 | 5 | %} 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_extra_rblock.stderr: -------------------------------------------------------------------------------- 1 | c_extra_rblock.i:5: Error: Syntax error. Extraneous '%}' 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_extra_rbrace.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(int); 4 | 5 | } 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_extra_rbrace.stderr: -------------------------------------------------------------------------------- 1 | c_extra_rbrace.i:5: Error: Syntax error. Extraneous '}' 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_extra_unsigned.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(unsigned unsigned int x); 4 | int bar(signed signed y); 5 | int spam(unsigned signed int x); 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_insert_missing.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %insert("header") "missing_file.i"; 4 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_insert_missing.stderr: -------------------------------------------------------------------------------- 1 | c_insert_missing.i:3: Error: Couldn't find 'missing_file.i'. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_long_short.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(long short x); 4 | int bar(short long y); 5 | int spam(long long long x); 6 | int grok(short short int x); 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_missing_rbrace.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int foo(int x) { 4 | int y; 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_missing_rbrace.stderr: -------------------------------------------------------------------------------- 1 | c_missing_rbrace.i:3: Error: Missing '}'. Reached end of input. 2 | c_missing_rbrace.i:3: Error: Syntax error in input(1). 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_missing_semi.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | int foo(int) 3 | int bar(int,int); 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_missing_semi.stderr: -------------------------------------------------------------------------------- 1 | c_missing_semi.i:3: Error: Syntax error - possibly a missing semicolon. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_varargs_neg.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %varargs(0,int x = 0) foo; 4 | int foo(int x, ...); 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/c_varargs_neg.stderr: -------------------------------------------------------------------------------- 1 | c_varargs_neg.i:3: Error: Argument count in %varargs must be positive. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_bad_extern.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | extern "INTERCAL" { 4 | int foo(int); 5 | }; 6 | 7 | extern "INTERCAL" int blah(int); 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_bad_extern.stderr: -------------------------------------------------------------------------------- 1 | cpp_bad_extern.i:5: Warning 313: Unrecognized extern type "INTERCAL". 2 | cpp_bad_extern.i:7: Warning 313: Unrecognized extern type "INTERCAL". 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_extend_undefined.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %extend foo { 4 | int bar() { 5 | } 6 | }; 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_extend_undefined.stderr: -------------------------------------------------------------------------------- 1 | cpp_extend_undefined.i:6: Warning 303: %extend defined for an undeclared class foo. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_extra_brackets.i: -------------------------------------------------------------------------------- 1 | %module cpp_extra_brackets 2 | 3 | // Extra brackets was segfaulting in SWIG-3.0.0 4 | struct ABC { 5 | int operator<<(ABC &))) { return 0; } 6 | }; 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_extra_brackets.stderr: -------------------------------------------------------------------------------- 1 | cpp_extra_brackets.i:5: Error: Unexpected ')'. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_extra_brackets2.stderr: -------------------------------------------------------------------------------- 1 | cpp_extra_brackets2.i:6: Error: Syntax error in input(3). 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_inline_namespace.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | namespace foo { 4 | %inline %{ 5 | int bar(int x) { } 6 | %} 7 | } 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_inline_namespace.stderr: -------------------------------------------------------------------------------- 1 | cpp_inline_namespace.i:4: Error: %inline directive inside a namespace is disallowed. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_missing_rparenthesis.stderr: -------------------------------------------------------------------------------- 1 | cpp_missing_rparenthesis.i:5: Error: Missing ')'. Reached end of input. 2 | cpp_missing_rparenthesis.i:5: Error: Syntax error in input(3). 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_missing_rtemplate.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | int foo(vector { 7 | }; 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_private_inherit.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | class Foo { 4 | }; 5 | 6 | class Bar : private Foo { 7 | }; 8 | 9 | class Spam : protected Foo { 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_recursive_typedef.i: -------------------------------------------------------------------------------- 1 | %module cpp_recursive_typedef 2 | 3 | typedef std::set pds; 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_recursive_typedef.stderr: -------------------------------------------------------------------------------- 1 | :1: Error: Recursive typedef detected resolving 'pds *' to 'std::set< pds > *' to 'std::set< std::set< pds > > *' and so on... 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_nargs.stderr: -------------------------------------------------------------------------------- 1 | cpp_template_nargs.i:5: Error: Template 'blah' undefined. 2 | cpp_template_nargs.i:6: Error: Template 'blah' undefined. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_not.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int blah; 4 | 5 | %template(blahi) blah; 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_not.stderr: -------------------------------------------------------------------------------- 1 | cpp_template_not.i:5: Error: 'blah' is not defined as a template. (cdecl) 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_partial.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | template class vector { 4 | }; 5 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_partial.stderr: -------------------------------------------------------------------------------- 1 | cpp_template_partial.i:3: Warning 317: Specialization of non-template 'vector'. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_repeat.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/test-suite/errors/cpp_template_repeat.stderr -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_undef.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %template(blahi) blah; 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_template_undef.stderr: -------------------------------------------------------------------------------- 1 | cpp_template_undef.i:3: Error: Template 'blah' undefined. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_using_not.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | int blah; 4 | using namespace blah; 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_using_not.stderr: -------------------------------------------------------------------------------- 1 | cpp_using_not.i:4: Error: 'blah' is not a namespace. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_using_type_aliasing.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/test-suite/errors/cpp_using_type_aliasing.stderr -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_using_undef.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | using foo::bar; 4 | using namespace foo; 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/cpp_using_undef.stderr: -------------------------------------------------------------------------------- 1 | cpp_using_undef.i:4: Error: Nothing known about namespace 'foo' 2 | cpp_using_undef.i:3: Warning 315: Nothing known about 'foo::bar'. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/nomodule.i: -------------------------------------------------------------------------------- 1 | /* No module name */ 2 | int foo(int); 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/nomodule.stderr: -------------------------------------------------------------------------------- 1 | No module name specified using %module or -module. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_badeval.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #if FOO==4 4 | #elif FOO==4+ 5 | #endif 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_badeval.stderr: -------------------------------------------------------------------------------- 1 | pp_badeval.i:4: Warning 202: Could not evaluate expression 'FOO==4+' 2 | pp_badeval.i:4: Warning 202: Error: 'Expected an expression' 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_defined.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #if defined() 4 | #endif 5 | 6 | #if defined 7 | #endif 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_defined.stderr: -------------------------------------------------------------------------------- 1 | pp_defined.i:6: Error: No arguments given to defined() 2 | pp_defined.i:6: Error: Missing expression for #if. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_deprecated.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | %extern ext; 5 | 6 | #warning Print this warning 7 | 8 | #error This is an error 9 | 10 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_badchar.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #define f@oo(a,x) a + x 4 | #define foo(a@,x) a + x 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_badchar.stderr: -------------------------------------------------------------------------------- 1 | pp_macro_badchar.i:4: Error: Illegal character in macro argument name 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_defined_unterminated.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | #if defined(a 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_defined_unterminated.stderr: -------------------------------------------------------------------------------- 1 | pp_macro_defined_unterminated.i:4: Error: Unterminated call to 'defined' 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_expansion.stderr: -------------------------------------------------------------------------------- 1 | pp_macro_expansion.i:9: Error: Macro 'MACRO2' expects 2 arguments 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_inline_unterminated.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %define foo(a,x) 4 | int ii; 5 | %enddef 6 | 7 | %inline %{ 8 | struct Struct { 9 | foo(2, 10 | }; 11 | %} 12 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_redef.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #define foo(a,x) a+x 4 | #define foo 4 5 | 6 | /* Should not generate an error */ 7 | #define foo 4 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_rparen.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #define foo(a,x 3 4 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_rparen.stderr: -------------------------------------------------------------------------------- 1 | pp_macro_rparen.i:3: Error: Missing ')' in macro parameters 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_unterminated.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #define foo(a,x) a+x 4 | 5 | foo(3, 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_macro_unterminated.stderr: -------------------------------------------------------------------------------- 1 | pp_macro_unterminated.i:5: Error: Unterminated call invoking macro 'foo' 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_misplaced_elif.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | #elif foo == 3 5 | int x; 6 | #endif 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_misplaced_elif.stderr: -------------------------------------------------------------------------------- 1 | pp_misplaced_elif.i:4: Error: Misplaced #elif. 2 | pp_misplaced_elif.i:6: Error: Extraneous #endif. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_misplaced_else.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | #else 5 | int x; 6 | #endif 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_misplaced_else.stderr: -------------------------------------------------------------------------------- 1 | pp_misplaced_else.i:4: Error: Misplaced #else. 2 | pp_misplaced_else.i:6: Error: Extraneous #endif. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_enddef.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %define FOO 4 | int x; 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_enddef.stderr: -------------------------------------------------------------------------------- 1 | pp_missing_enddef.i:3: Error: Missing %enddef for macro starting here 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_endif.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | #ifdef FOO 4 | int x; 5 | 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_endif.stderr: -------------------------------------------------------------------------------- 1 | pp_missing_endif.i:3: Error: Missing #endif for conditional starting here 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_endoffile.stderr: -------------------------------------------------------------------------------- 1 | pp_missing_endoffile.i:6: Error: Missing %endoffile for file inclusion block starting here 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_file.i: -------------------------------------------------------------------------------- 1 | %module test 2 | 3 | %include "missing_filename.i" 4 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_file.stderr: -------------------------------------------------------------------------------- 1 | pp_missing_file.i:3: Error: Unable to find 'missing_filename.i' 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_rblock.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %{ 4 | int x; 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_missing_rblock.stderr: -------------------------------------------------------------------------------- 1 | pp_missing_rblock.i:3: Error: Unterminated %{ ... %} block 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_pragma.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | #pragma SWIG rubbish() 5 | 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_pragma.stderr: -------------------------------------------------------------------------------- 1 | pp_pragma.i:4: Error: Unknown SWIG pragma: rubbish() 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unknowndirective.stderr: -------------------------------------------------------------------------------- 1 | pp_unknowndirective.i:12: Error: Unknown directive '%remane'. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unknowndirective2.stderr: -------------------------------------------------------------------------------- 1 | pp_unknowndirective2.i:7: Error: Unknown SWIG preprocessor directive: elsif (if this is a block of target language code, delimit it with %{ and %}) 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterm_char.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | const char x = 'H 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterm_char.stderr: -------------------------------------------------------------------------------- 1 | pp_unterm_char.i:4: Error: Unterminated character constant 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterm_comment.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | /* Hello 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterm_comment.stderr: -------------------------------------------------------------------------------- 1 | pp_unterm_comment.i:3: Error: Unterminated comment 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterm_string.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | const char *x = "Hello 5 | 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterm_string.stderr: -------------------------------------------------------------------------------- 1 | pp_unterm_string.i:4: Error: Unterminated string constant 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterminated_block.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %{ 4 | int foo(int x); 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_unterminated_block.stderr: -------------------------------------------------------------------------------- 1 | pp_unterminated_block.i:3: Error: Unterminated %{ ... %} block 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_variable_args.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | 4 | %define VARARGS_WRONG(a, 5 | x, 6 | ..., 7 | b) 8 | xxx 9 | %enddef 10 | 11 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/pp_variable_args.stderr: -------------------------------------------------------------------------------- 1 | pp_variable_args.i:6: Error: Variable length macro argument must be last parameter 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_apply_nargs.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %typemap(in) (char *str, int len) { 4 | } 5 | 6 | %apply (char *str, int len) { int x }; 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_apply_nargs.stderr: -------------------------------------------------------------------------------- 1 | swig_apply_nargs.i:6: Error: Can't apply (char *str,int len) to (int x). Number of arguments don't match. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_fragment_missing.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %fragment("awol"); 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_fragment_missing.stderr: -------------------------------------------------------------------------------- 1 | swig_fragment_missing.i:3: Warning 490: Fragment 'awol' not found. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_identifier.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %rename("foo bar") foobar; 4 | 5 | int foobar(int); 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_identifier.stderr: -------------------------------------------------------------------------------- 1 | swig_identifier.i:5: Warning 503: Can't wrap 'foo bar' unless renamed to a valid identifier. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_insert_bad.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %insert("foobar") %{ 4 | some code 5 | %} 6 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_insert_bad.stderr: -------------------------------------------------------------------------------- 1 | swig_insert_bad.i:5: Error: Unknown target 'foobar' for %insert directive. 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_pythoncode_bad.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %pythoncode %{ 4 | def foo(): 5 | a = 1 # This line starts with a tab instead of 8 spaces. 6 | return 2 7 | %} 8 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_typemap_copy.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %typemap(in) int = blah; 4 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_typemap_copy.stderr: -------------------------------------------------------------------------------- 1 | swig_typemap_copy.i:3: Error: Can't copy typemap (in) blah = int 2 | -------------------------------------------------------------------------------- /Examples/test-suite/errors/swig_typemap_old.i: -------------------------------------------------------------------------------- 1 | %module xxx 2 | 3 | %typemap(in) int x { 4 | $source; 5 | $target; 6 | } 7 | -------------------------------------------------------------------------------- /Examples/test-suite/go/abstract_typedef2_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./abstract_typedef2" 4 | 5 | func main() { 6 | abstract_typedef2.NewA_UF() 7 | } 8 | -------------------------------------------------------------------------------- /Examples/test-suite/go/abstract_virtual_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./abstract_virtual" 4 | 5 | func main() { 6 | abstract_virtual.NewD() 7 | abstract_virtual.NewE() 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/director_default_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./director_default" 4 | 5 | func main() { 6 | NewFoo() 7 | NewFoo(1) 8 | 9 | NewBar() 10 | NewBar(1) 11 | } 12 | -------------------------------------------------------------------------------- /Examples/test-suite/go/disown_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./disown" 4 | 5 | func main() { 6 | a := NewA() 7 | 8 | b := NewB() 9 | b.Acquire(a) 10 | } 11 | -------------------------------------------------------------------------------- /Examples/test-suite/go/empty_c_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import _ "./empty_c" 4 | 5 | func main() { 6 | } 7 | -------------------------------------------------------------------------------- /Examples/test-suite/go/empty_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import _ "./empty" 4 | 5 | func main() { 6 | } 7 | -------------------------------------------------------------------------------- /Examples/test-suite/go/extend_variable_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./extend_variable" 4 | 5 | func main() { 6 | if FooBar != 42 { 7 | panic(0) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Examples/test-suite/go/extern_c_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./extern_c" 4 | 5 | func main() { 6 | extern_c.RealFunction(2) 7 | } 8 | -------------------------------------------------------------------------------- /Examples/test-suite/go/global_ns_arg_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./global_ns_arg" 4 | 5 | func main() { 6 | Foo(1) 7 | Bar_fn() 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/keyword_rename_c_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./keyword_rename_c" 4 | 5 | func main() { 6 | keyword_rename_c.Xgo(1) 7 | keyword_rename_c.Xchan(1) 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/keyword_rename_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./keyword_rename" 4 | 5 | func main() { 6 | keyword_rename.Xgo(1) 7 | keyword_rename.Xchan(1) 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/namespace_virtual_method_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./namespace_virtual_method" 4 | 5 | func main() { 6 | _ = namespace_virtual_method.NewSpam() 7 | } 8 | -------------------------------------------------------------------------------- /Examples/test-suite/go/overload_copy_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./overload_copy" 4 | 5 | func main() { 6 | f := NewFoo() 7 | _ = NewFoo(f) 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/struct_rename_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./struct_rename" 4 | 5 | func main() { 6 | _ = struct_rename.NewBar() 7 | } 8 | -------------------------------------------------------------------------------- /Examples/test-suite/go/template_static_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./template_static" 4 | 5 | func main() { 6 | FooBar_double(1) 7 | } 8 | -------------------------------------------------------------------------------- /Examples/test-suite/go/template_type_namespace_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./template_type_namespace" 4 | 5 | func main() { 6 | if Foo().Get(0) == "" { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/typemap_ns_using_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./typemap_ns_using" 4 | 5 | func main() { 6 | if typemap_ns_using.Spam(37) != 37 { 7 | panic(0) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Examples/test-suite/go/typemap_out_optimal_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import . "./typemap_out_optimal" 4 | 5 | func main() { 6 | SetXXDebug(false) 7 | _ = XXCreate() 8 | } 9 | -------------------------------------------------------------------------------- /Examples/test-suite/go/using1_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./using1" 4 | 5 | func main() { 6 | if using1.Spam(37) != 37 { 7 | panic(0) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Examples/test-suite/go/using2_runme.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "./using2" 4 | 5 | func main() { 6 | if using2.Spam(37) != 37 { 7 | panic(0) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Examples/test-suite/go_subdir_import.list: -------------------------------------------------------------------------------- 1 | testdir/go_subdir_import/go_subdir_import_c 2 | go_subdir_import_b 3 | go_subdir_import_a 4 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/README: -------------------------------------------------------------------------------- 1 | See ../README for common README file. 2 | 3 | Any testcases which have _runme.scm appended after the testcase name will be detected and run. 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/class_ignore_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_class_ignore_module" (dynamic-link "./libclass_ignore")) 2 | (load "../schemerunme/class_ignore.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/constover_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_constover_module" (dynamic-link "./libconstover")) 2 | (load "../schemerunme/constover.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/cpp_namespace_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_cpp_namespace_module" (dynamic-link "./libcpp_namespace")) 2 | (load "../schemerunme/cpp_namespace.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/dynamic_cast_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_dynamic_cast_module" (dynamic-link "./libdynamic_cast")) 2 | (load "../schemerunme/dynamic_cast.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/import_nomodule_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_import_nomodule_module" (dynamic-link "./libimport_nomodule")) 2 | (load "../schemerunme/import_nomodule.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/inherit_missing_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_inherit_missing_module" (dynamic-link "./libinherit_missing")) 2 | (load "../schemerunme/inherit_missing.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/overload_copy_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_overload_copy_module" (dynamic-link "./liboverload_copy")) 2 | (load "../schemerunme/overload_copy.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/overload_extend_c_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_overload_extend_c_module" (dynamic-link "./liboverload_extend_c")) 2 | (load "../schemerunme/overload_extend_c.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/overload_extend_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_overload_extend_module" (dynamic-link "./liboverload_extend")) 2 | (load "../schemerunme/overload_extend.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/guile/typedef_inherit_runme.scm: -------------------------------------------------------------------------------- 1 | (dynamic-call "scm_init_typedef_inherit_module" (dynamic-link "./libtypedef_inherit")) 2 | (load "../schemerunme/typedef_inherit.scm") 3 | -------------------------------------------------------------------------------- /Examples/test-suite/import_nomodule.h: -------------------------------------------------------------------------------- 1 | class Foo { }; 2 | typedef int Integer; 3 | -------------------------------------------------------------------------------- /Examples/test-suite/import_stl.list: -------------------------------------------------------------------------------- 1 | import_stl_a 2 | import_stl_b 3 | -------------------------------------------------------------------------------- /Examples/test-suite/import_stl_a.i: -------------------------------------------------------------------------------- 1 | %module import_stl_a 2 | 3 | %include 4 | %template(VectorInt) std::vector; 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/imports.list: -------------------------------------------------------------------------------- 1 | imports_a 2 | imports_b 3 | -------------------------------------------------------------------------------- /Examples/test-suite/inctest.h: -------------------------------------------------------------------------------- 1 | int IntegerMember; 2 | double DoubleMember; 3 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/abstract_access_runme.js: -------------------------------------------------------------------------------- 1 | var abstract_access = require("abstract_access"); 2 | 3 | var d = new abstract_access.D() 4 | if (d.do_x() != 1) { 5 | throw "Error"; 6 | } 7 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/empty_c_runme.js: -------------------------------------------------------------------------------- 1 | var empty_c = require("empty_c"); 2 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/empty_runme.js: -------------------------------------------------------------------------------- 1 | var empty = require("empty"); -------------------------------------------------------------------------------- /Examples/test-suite/javascript/namespace_virtual_method_runme.js: -------------------------------------------------------------------------------- 1 | var namespace_virtual_method = require("namespace_virtual_method"); 2 | 3 | x = new namespace_virtual_method.Spam(); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/node_template/index.js.in: -------------------------------------------------------------------------------- 1 | module.exports = require('./build/Release/$testcase'); 2 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/overload_copy_runme.js: -------------------------------------------------------------------------------- 1 | var overload_copy = require("overload_copy"); 2 | 3 | f = new overload_copy.Foo(); 4 | g = new overload_copy.Foo(f); 5 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/template_static_runme.js: -------------------------------------------------------------------------------- 1 | var template_static = require("template_static"); 2 | 3 | template_static.Foo.bar_double(1); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/typedef_class_runme.js: -------------------------------------------------------------------------------- 1 | var typedef_class = require("typedef_class"); 2 | 3 | a = new typedef_class.RealA(); 4 | a.a = 3; 5 | 6 | b = new typedef_class.B(); 7 | b.testA(a); 8 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/typemap_arrays_runme.js: -------------------------------------------------------------------------------- 1 | var typemap_arrays = require("typemap_arrays"); 2 | 3 | if (typemap_arrays.sumA(null) != 60) 4 | throw "RuntimeError, Sum is wrong"; 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/typemap_delete_runme.js: -------------------------------------------------------------------------------- 1 | var typemap_delete = require("typemap_delete"); 2 | 3 | r = new typemap_delete.Rect(123); 4 | if (r.val != 123) 5 | throw "RuntimeError"; 6 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/typemap_ns_using_runme.js: -------------------------------------------------------------------------------- 1 | var typemap_ns_using = require("typemap_ns_using"); 2 | 3 | if (typemap_ns_using.spam(37) != 37) 4 | throw "RuntimeError"; 5 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/using1_runme.js: -------------------------------------------------------------------------------- 1 | var using1 = require("using1"); 2 | 3 | if (using1.spam(37) != 37) 4 | throw "RuntimeError"; 5 | -------------------------------------------------------------------------------- /Examples/test-suite/javascript/using2_runme.js: -------------------------------------------------------------------------------- 1 | var using2 = require("using2"); 2 | 3 | if (using2.spam(37) != 37) 4 | throw "RuntimeError"; 5 | -------------------------------------------------------------------------------- /Examples/test-suite/keyword_rename_c.i: -------------------------------------------------------------------------------- 1 | /* 2 | * Test reserved keyword renaming 3 | */ 4 | 5 | %module keyword_rename_c 6 | 7 | %include "keyword_rename.i" 8 | -------------------------------------------------------------------------------- /Examples/test-suite/li_cdata.i: -------------------------------------------------------------------------------- 1 | %module li_cdata 2 | 3 | %include 4 | 5 | %cdata(int); 6 | %cdata(double); 7 | 8 | void *malloc(size_t size); 9 | -------------------------------------------------------------------------------- /Examples/test-suite/li_cdata_carrays.i: -------------------------------------------------------------------------------- 1 | %module li_cdata_carrays 2 | 3 | %include 4 | %array_class(int, intArray); 5 | 6 | %include 7 | 8 | %cdata(int); 9 | -------------------------------------------------------------------------------- /Examples/test-suite/li_cdata_carrays_cpp.i: -------------------------------------------------------------------------------- 1 | %module li_cdata_carrays_cpp 2 | 3 | %include 4 | %array_class(int, intArray); 5 | 6 | %include 7 | 8 | %cdata(int); 9 | -------------------------------------------------------------------------------- /Examples/test-suite/li_cdata_cpp.i: -------------------------------------------------------------------------------- 1 | %module li_cdata_cpp 2 | 3 | %include 4 | 5 | %cdata(int); 6 | %cdata(double); 7 | 8 | void *malloc(size_t size); 9 | -------------------------------------------------------------------------------- /Examples/test-suite/li_std_queue.i: -------------------------------------------------------------------------------- 1 | // test of std::queue 2 | %module li_std_queue 3 | 4 | %include std_queue.i 5 | 6 | 7 | %template( IntQueue ) std::queue< int >; 8 | -------------------------------------------------------------------------------- /Examples/test-suite/li_std_stack.i: -------------------------------------------------------------------------------- 1 | // test of std::stack 2 | %module li_std_stack 3 | 4 | %include std_stack.i 5 | 6 | 7 | %template( IntStack ) std::stack< int >; 8 | -------------------------------------------------------------------------------- /Examples/test-suite/lua_no_module_global.i: -------------------------------------------------------------------------------- 1 | %module lua_no_module_global 2 | %{ 3 | const char *hi_mom() { return "hi mom!"; } 4 | %} 5 | const char *hi_mom(); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/abstract_access_runme.m: -------------------------------------------------------------------------------- 1 | d = abstract_access.D(); 2 | if (d.do_x() ~= 1) 3 | error('FAILED!!') 4 | end 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/abstract_typedef2_runme.m: -------------------------------------------------------------------------------- 1 | a = abstract_typedef2.A_UF(); 2 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/abstract_typedef_runme.m: -------------------------------------------------------------------------------- 1 | e = abstract_typedef.Engine(); 2 | 3 | a = abstract_typedef.A(); 4 | 5 | 6 | if (a.write(e) ~= 1) 7 | error('FAILED!!') 8 | end 9 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/abstract_virtual_runme.m: -------------------------------------------------------------------------------- 1 | d = abstract_virtual.D(); 2 | 3 | e = abstract_virtual.E(); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/class_ignore_runme.m: -------------------------------------------------------------------------------- 1 | a = class_ignore.Bar(); 2 | 3 | if (~strcmp(class_ignore.do_blah(a),'Bar::blah')) 4 | error('FAILED!!') 5 | end 6 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/class_scope_weird_runme.m: -------------------------------------------------------------------------------- 1 | f = class_scope_weird.Foo(); 2 | g = class_scope_weird.Foo(3); 3 | if (f.bar(3) ~= 3) 4 | error('FAILED!!') 5 | end 6 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/director_abstract_helper.m: -------------------------------------------------------------------------------- 1 | function out=director_abstract_helper(self) 2 | out='MyFoo::ping()'; 3 | end 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/director_default_runme.m: -------------------------------------------------------------------------------- 1 | f = director_default.Foo(); 2 | f = director_default.Foo(1); 3 | 4 | 5 | f = director_default.Bar(); 6 | f = director_default.Bar(1); 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/director_frob_runme.m: -------------------------------------------------------------------------------- 1 | foo = director_frob.Bravo(); 2 | s = foo.abs_method(); 3 | 4 | if (~strcmp(s,'Bravo::abs_method()')) 5 | error(s) 6 | end 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/director_string_helper_get_first.m: -------------------------------------------------------------------------------- 1 | function out=director_string_helper_get_first(self) 2 | out = strcat(self.A.get_first(),' world~'); 3 | end 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/director_string_helper_process_text.m: -------------------------------------------------------------------------------- 1 | function director_string_helper_process_text(self,string) 2 | self.A.process_text(string); 3 | self.smem = 'hello'; 4 | end 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/empty_runme.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/extend_template_ns_runme.m: -------------------------------------------------------------------------------- 1 | f = extend_template_ns.Foo_One(); 2 | if (f.test1(37) ~= 37) 3 | error 4 | end 5 | 6 | if (f.test2(42) ~= 42) 7 | error 8 | end 9 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/extend_template_runme.m: -------------------------------------------------------------------------------- 1 | f = extend_template.Foo_0(); 2 | if (f.test1(37) ~= 37) 3 | error 4 | end 5 | 6 | if (f.test2(42) ~= 42) 7 | error 8 | end 9 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/extend_variable_runme.m: -------------------------------------------------------------------------------- 1 | if (extend_variable.Foo.Bar ~= 42) 2 | error 3 | end 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/file_test_runme.m: -------------------------------------------------------------------------------- 1 | file_test.nfile('stdout'); 2 | 3 | cstdout = file_test.GetStdOut(); 4 | 5 | file_test.nfile(cstdout); 6 | file_test.nfile_name('test.dat'); 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/fvirtual_runme.m: -------------------------------------------------------------------------------- 1 | sw = fvirtual.NodeSwitch(); 2 | n = fvirtual.Node(); 3 | i = sw.addChild(n); 4 | 5 | if (i ~= 2) 6 | error('addChild') 7 | end 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/global_ns_arg_runme.m: -------------------------------------------------------------------------------- 1 | a = global_ns_arg.foo(1); 2 | b = global_ns_arg.bar_fn(); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/li_std_vector_enum_helper.m: -------------------------------------------------------------------------------- 1 | function li_std_vector_enum_helper(a, b) 2 | if (a ~= b) 3 | error('incorrect match'); 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/mod_runme.m: -------------------------------------------------------------------------------- 1 | c = mod_b.C(); 2 | d = mod_b.D(); 3 | d.DoSomething(c); 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/namespace_virtual_method_runme.m: -------------------------------------------------------------------------------- 1 | x = namespace_virtual_method.Spam(); 2 | 3 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/overload_copy_runme.m: -------------------------------------------------------------------------------- 1 | f = overload_copy.Foo(); 2 | g = overload_copy.Foo(f); 3 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/ret_by_value_runme.m: -------------------------------------------------------------------------------- 1 | a = ret_by_value.get_test(); 2 | if (a.myInt ~= 100) 3 | error 4 | end 5 | 6 | if (a.myShort ~= 200) 7 | error 8 | end 9 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/samename_runme.m: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/sneaky1_runme.m: -------------------------------------------------------------------------------- 1 | x = sneaky1.add(3,4); 2 | y = sneaky1.subtract(3,4); 3 | z = sneaky1.mul(3,4); 4 | w = sneaky1.divide(3,4); 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/struct_rename_runme.m: -------------------------------------------------------------------------------- 1 | b = struct_rename.Bar(); 2 | 3 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_construct_runme.m: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_ns4_runme.m: -------------------------------------------------------------------------------- 1 | d = template_ns4.make_Class_DD(); 2 | if (~strcmp(d.test(),'test')) 3 | error 4 | end 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_opaque_runme.m: -------------------------------------------------------------------------------- 1 | v = template_opaque.OpaqueVectorType(10); 2 | 3 | template_opaque.FillVector(v); 4 | 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_ref_type_runme.m: -------------------------------------------------------------------------------- 1 | xr = template_ref_type.XC(); 2 | y = template_ref_type.Y(); 3 | y.find(xr); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_static_runme.m: -------------------------------------------------------------------------------- 1 | template_static.Foo.bar_double(1); 2 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_tbase_template_runme.m: -------------------------------------------------------------------------------- 1 | a = template_tbase_template.make_Class_dd(); 2 | if (~strcmp(a.test(),'test')) 3 | error 4 | end 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/template_type_namespace_runme.m: -------------------------------------------------------------------------------- 1 | tmp=template_type_namespace.foo(); 2 | assert(strcmp(tmp(1),'foo')); 3 | 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/typedef_class_runme.m: -------------------------------------------------------------------------------- 1 | a = typedef_class.RealA(); 2 | a.a(3); 3 | 4 | b = typedef_class.B(); 5 | b.testA(a); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/typemap_ns_using_runme.m: -------------------------------------------------------------------------------- 1 | if (typemap_ns_using.spam(37) ~= 37) 2 | error 3 | end 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/using1_runme.m: -------------------------------------------------------------------------------- 1 | if (using1.spam(37) ~= 37) 2 | error 3 | end 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/using2_runme.m: -------------------------------------------------------------------------------- 1 | if (using2.spam(37) ~= 37) 2 | error 3 | end 4 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/using_protected_runme.m: -------------------------------------------------------------------------------- 1 | f = using_protected.FooBar(); 2 | f.x(3); 3 | 4 | if (f.blah(4) ~= 4) 5 | error('blah(int)') 6 | end 7 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/voidtest_helper.m: -------------------------------------------------------------------------------- 1 | function voidtest_helper() 2 | end 3 | -------------------------------------------------------------------------------- /Examples/test-suite/matlab/wrapmacro_runme.m: -------------------------------------------------------------------------------- 1 | a = 2; 2 | b = -1; 3 | wrapmacro.maximum(a,b); 4 | wrapmacro.maximum(a/7.0, -b*256); 5 | wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1); 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/mod.list: -------------------------------------------------------------------------------- 1 | mod_a 2 | mod_b 3 | -------------------------------------------------------------------------------- /Examples/test-suite/multi_import.list: -------------------------------------------------------------------------------- 1 | multi_import_a 2 | multi_import_b 3 | -------------------------------------------------------------------------------- /Examples/test-suite/multi_import_c.i: -------------------------------------------------------------------------------- 1 | class XXX 2 | { 3 | public: 4 | int testx(); 5 | }; 6 | -------------------------------------------------------------------------------- /Examples/test-suite/mzscheme/README: -------------------------------------------------------------------------------- 1 | See ../README for common README file. 2 | 3 | Any testcases which have _runme.scm appended after the testcase name will be detected and run. 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/mzscheme/casts_runme.scm: -------------------------------------------------------------------------------- 1 | (load-extension "casts.so") 2 | 3 | (define x (new-B)) 4 | 5 | (A-hello x) 6 | 7 | (exit 0) 8 | -------------------------------------------------------------------------------- /Examples/test-suite/mzscheme/char_constant_runme.scm: -------------------------------------------------------------------------------- 1 | (load-extension "char_constant.so") 2 | 3 | (if (and (char? (CHAR-CONSTANT)) 4 | (string? (STRING-CONSTANT))) 5 | (exit 0) 6 | (exit 1)) 7 | -------------------------------------------------------------------------------- /Examples/test-suite/ocaml/README: -------------------------------------------------------------------------------- 1 | I stole most of these runme's from the ruby runme scripts, since the current 2 | ocaml interface mirrors the ruby interface in many ways. 3 | -------------------------------------------------------------------------------- /Examples/test-suite/ocaml/overload_copy_runme.ml: -------------------------------------------------------------------------------- 1 | open Swig 2 | open Overload_copy 3 | 4 | let f = new_Foo C_void 5 | let g = new_Foo f 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/abstract_access_runme.m: -------------------------------------------------------------------------------- 1 | abstract_access 2 | 3 | d = abstract_access.D(); 4 | if (d.do_x() != 1) 5 | error 6 | endif 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/abstract_typedef2_runme.m: -------------------------------------------------------------------------------- 1 | abstract_typedef2 2 | 3 | a = A_UF(); 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/abstract_typedef_runme.m: -------------------------------------------------------------------------------- 1 | abstract_typedef 2 | e = Engine(); 3 | 4 | a = A(); 5 | 6 | 7 | if (a.write(e) != 1) 8 | error 9 | endif 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/abstract_virtual_runme.m: -------------------------------------------------------------------------------- 1 | abstract_virtual 2 | 3 | 4 | d = D(); 5 | 6 | e = E(); 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/class_ignore_runme.m: -------------------------------------------------------------------------------- 1 | class_ignore 2 | 3 | a = class_ignore.Bar(); 4 | 5 | if (!strcmp(class_ignore.do_blah(a),"Bar::blah")) 6 | error 7 | endif 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/class_scope_weird_runme.m: -------------------------------------------------------------------------------- 1 | class_scope_weird 2 | 3 | f = class_scope_weird.Foo(); 4 | g = class_scope_weird.Foo(3); 5 | if (f.bar(3) != 3) 6 | error 7 | endif 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/director_default_runme.m: -------------------------------------------------------------------------------- 1 | director_default 2 | 3 | 4 | f = Foo(); 5 | f = Foo(1); 6 | 7 | 8 | f = Bar(); 9 | f = Bar(1); 10 | 11 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/director_frob_runme.m: -------------------------------------------------------------------------------- 1 | director_frob 2 | 3 | foo = Bravo(); 4 | s = foo.abs_method(); 5 | 6 | if (!strcmp(s,"Bravo::abs_method()")) 7 | error(s) 8 | endif 9 | 10 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/empty_c_runme.m: -------------------------------------------------------------------------------- 1 | empty_c 2 | 3 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/empty_runme.m: -------------------------------------------------------------------------------- 1 | empty 2 | 3 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/extend_variable_runme.m: -------------------------------------------------------------------------------- 1 | extend_variable 2 | 3 | if (Foo.Bar != 42) 4 | error 5 | endif 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/fvirtual_runme.m: -------------------------------------------------------------------------------- 1 | fvirtual 2 | 3 | sw = NodeSwitch(); 4 | n = Node(); 5 | i = sw.addChild(n); 6 | 7 | if (i != 2) 8 | error("addChild") 9 | endif 10 | 11 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/global_ns_arg_runme.m: -------------------------------------------------------------------------------- 1 | global_ns_arg 2 | 3 | a = foo(1); 4 | b = bar_fn(); 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/iadd_runme.m: -------------------------------------------------------------------------------- 1 | iadd 2 | 3 | f = iadd.Foo(); 4 | 5 | f.AsA.x = 3; 6 | f.AsA += f.AsA; 7 | 8 | if (f.AsA.x != 6) 9 | error 10 | endif 11 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/import_nomodule_runme.m: -------------------------------------------------------------------------------- 1 | import_nomodule 2 | 3 | f = create_Foo(); 4 | test1(f,42); 5 | delete_Foo(f); 6 | 7 | b = Bar(); 8 | test1(b,37); 9 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/li_carrays_cpp_runme.m: -------------------------------------------------------------------------------- 1 | li_carrays_cpp 2 | 3 | d = doubleArray(10); 4 | 5 | d(0) = 7; 6 | d(5) = d(0) + 3; 7 | 8 | if (d(5) + d(0) != 17) 9 | error 10 | endif 11 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/li_carrays_runme.m: -------------------------------------------------------------------------------- 1 | li_carrays 2 | 3 | d = doubleArray(10); 4 | 5 | d(0) = 7; 6 | d(5) = d(0) + 3; 7 | 8 | if (d(5) + d(0) != 17) 9 | error 10 | endif 11 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/mod_runme.m: -------------------------------------------------------------------------------- 1 | mod_a 2 | mod_b 3 | 4 | c = mod_b.C(); 5 | d = mod_b.D(); 6 | d.DoSomething(c); 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/namespace_virtual_method_runme.m: -------------------------------------------------------------------------------- 1 | namespace_virtual_method 2 | 3 | x = namespace_virtual_method.Spam(); 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/null_pointer_runme.m: -------------------------------------------------------------------------------- 1 | null_pointer; 2 | 3 | assert(func([])); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/octave_empty.c: -------------------------------------------------------------------------------- 1 | /* empty C file for the Octave test-suite C tests is needed - build system workaround as the generated files for Octave are C++ files */ 2 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/overload_copy_runme.m: -------------------------------------------------------------------------------- 1 | overload_copy 2 | f = Foo(); 3 | g = Foo(f); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/samename_runme.m: -------------------------------------------------------------------------------- 1 | samename 2 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/sneaky1_runme.m: -------------------------------------------------------------------------------- 1 | sneaky1 2 | x = sneaky1.add(3,4); 3 | y = sneaky1.subtract(3,4); 4 | z = sneaky1.mul(3,4); 5 | w = sneaky1.divide(3,4); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/struct_rename_runme.m: -------------------------------------------------------------------------------- 1 | struct_rename 2 | 3 | b = struct_rename.Bar(); 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_construct_runme.m: -------------------------------------------------------------------------------- 1 | template_construct 2 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_matrix_runme.m: -------------------------------------------------------------------------------- 1 | template_matrix 2 | passVector([1,2,3]); 3 | passMatrix({[1,2],[1,2,3]}); 4 | passCube({{[1,2],[1,2,3]},{[1,2],[1,2,3]}}); 5 | 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_ns4_runme.m: -------------------------------------------------------------------------------- 1 | template_ns4 2 | 3 | d = make_Class_DD(); 4 | if (!strcmp(d.test(),"test")) 5 | error 6 | endif 7 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_opaque_runme.m: -------------------------------------------------------------------------------- 1 | template_opaque 2 | 3 | v = template_opaque.OpaqueVectorType(10); 4 | 5 | template_opaque.FillVector(v); 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_ref_type_runme.m: -------------------------------------------------------------------------------- 1 | template_ref_type 2 | 3 | xr = template_ref_type.XC(); 4 | y = template_ref_type.Y(); 5 | y.find(xr); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_static_runme.m: -------------------------------------------------------------------------------- 1 | template_static 2 | 3 | Foo_bar_double(1); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_tbase_template_runme.m: -------------------------------------------------------------------------------- 1 | template_tbase_template 2 | 3 | a = make_Class_dd(); 4 | if (!strcmp(a.test(),"test")) 5 | error 6 | endif 7 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/template_type_namespace_runme.m: -------------------------------------------------------------------------------- 1 | template_type_namespace 2 | 3 | assert(strcmp(foo()(1),"foo")); 4 | 5 | 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/typedef_class_runme.m: -------------------------------------------------------------------------------- 1 | typedef_class 2 | 3 | a = typedef_class.RealA(); 4 | a.a = 3; 5 | 6 | b = typedef_class.B(); 7 | b.testA(a); 8 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/typemap_ns_using_runme.m: -------------------------------------------------------------------------------- 1 | typemap_ns_using 2 | 3 | if (typemap_ns_using.spam(37) != 37) 4 | error 5 | endif 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/using1_runme.m: -------------------------------------------------------------------------------- 1 | using1 2 | 3 | if (using1.spam(37) != 37) 4 | error 5 | endif 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/using2_runme.m: -------------------------------------------------------------------------------- 1 | using2 2 | 3 | if (using2.spam(37) != 37) 4 | error 5 | endif 6 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/using_protected_runme.m: -------------------------------------------------------------------------------- 1 | using_protected 2 | 3 | f = FooBar(); 4 | f.x = 3; 5 | 6 | if (f.blah(4) != 4) 7 | error("blah(int)") 8 | endif 9 | -------------------------------------------------------------------------------- /Examples/test-suite/octave/wrapmacro_runme.m: -------------------------------------------------------------------------------- 1 | wrapmacro 2 | 3 | a = 2; 4 | b = -1; 5 | wrapmacro.maximum(a,b); 6 | wrapmacro.maximum(a/7.0, -b*256); 7 | wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1); 8 | 9 | -------------------------------------------------------------------------------- /Examples/test-suite/overload_extend_c.i: -------------------------------------------------------------------------------- 1 | %module overload_extend_c 2 | 3 | %include "overload_extend.i" 4 | -------------------------------------------------------------------------------- /Examples/test-suite/overload_template_fast.i: -------------------------------------------------------------------------------- 1 | %module overload_template_fast 2 | 3 | %fastdispatch; 4 | 5 | %include overload_template.i 6 | -------------------------------------------------------------------------------- /Examples/test-suite/packageoption.h: -------------------------------------------------------------------------------- 1 | struct Base { 2 | virtual int vmethod() { return 1; } 3 | int basemethod() { return 1; } 4 | virtual ~Base() {} 5 | }; 6 | 7 | -------------------------------------------------------------------------------- /Examples/test-suite/packageoption.list: -------------------------------------------------------------------------------- 1 | packageoption_a 2 | packageoption_b 3 | packageoption_c 4 | -------------------------------------------------------------------------------- /Examples/test-suite/packageoption_b.i: -------------------------------------------------------------------------------- 1 | %module(package="CommonPackage") "packageoption_b"; 2 | 3 | %inline %{ 4 | class B 5 | { 6 | public: 7 | int testInt() { return 4; } 8 | }; 9 | 10 | %} 11 | -------------------------------------------------------------------------------- /Examples/test-suite/perl5/disown_runme.pl: -------------------------------------------------------------------------------- 1 | use disown; 2 | 3 | if (1) { 4 | $a = new disown::A(); 5 | $b = new disown::B(); 6 | $c = $b->acquire($a); 7 | } 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Examples/test-suite/perl5/imports_runme.pl: -------------------------------------------------------------------------------- 1 | use imports_b; 2 | use imports_a; 3 | 4 | $x = imports_bc::new_B(); 5 | imports_ac::A_hello($x); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/perl5/overload_copy_runme.pl: -------------------------------------------------------------------------------- 1 | 2 | use overload_copy; 3 | 4 | $f = new overload_copy::Foo(); 5 | $g = new overload_copy::Foo($f); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/perl5/template_ref_type_runme.pl: -------------------------------------------------------------------------------- 1 | use template_ref_type; 2 | 3 | my $xr = template_ref_type::XC->new(); 4 | my $y = template_ref_type::Y->new(); 5 | 6 | $y->find($xr); 7 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_constants_c.i: -------------------------------------------------------------------------------- 1 | %module preproc_constants_c 2 | 3 | %define true 1 %enddef 4 | %define false 0 %enddef 5 | 6 | %include "preproc_constants.i" 7 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_a.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply10(int a); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_b.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply20(int a); 3 | 4 | #define PREPROC_INCLUDE_C "preproc_include_c.h" 5 | 6 | #include PREPROC_INCLUDE_C 7 | 8 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_c.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply30(int a); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_d withspace.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply40(int a); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_e withspace.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply50(int a); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_f withspace.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply60(int a); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_g.h: -------------------------------------------------------------------------------- 1 | 2 | int multiply70(int a); 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_h1.i: -------------------------------------------------------------------------------- 1 | #define const1 1 2 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_h2.i: -------------------------------------------------------------------------------- 1 | #define const2 2 2 | -------------------------------------------------------------------------------- /Examples/test-suite/preproc_include_h3.i: -------------------------------------------------------------------------------- 1 | #define const3 3 2 | -------------------------------------------------------------------------------- /Examples/test-suite/python/abstract_access_runme.py: -------------------------------------------------------------------------------- 1 | import abstract_access 2 | 3 | d = abstract_access.D() 4 | if d.do_x() != 1: 5 | raise RuntimeError 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/abstract_typedef2_runme.py: -------------------------------------------------------------------------------- 1 | from abstract_typedef2 import * 2 | 3 | a = A_UF() 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/abstract_typedef_runme.py: -------------------------------------------------------------------------------- 1 | from abstract_typedef import * 2 | e = Engine() 3 | 4 | a = A() 5 | 6 | 7 | if a.write(e) != 1: 8 | raise RuntimeError 9 | -------------------------------------------------------------------------------- /Examples/test-suite/python/abstract_virtual_runme.py: -------------------------------------------------------------------------------- 1 | from abstract_virtual import * 2 | 3 | 4 | d = D() 5 | 6 | e = E() 7 | -------------------------------------------------------------------------------- /Examples/test-suite/python/class_ignore_runme.py: -------------------------------------------------------------------------------- 1 | import class_ignore 2 | 3 | a = class_ignore.Bar() 4 | 5 | if class_ignore.do_blah(a) != "Bar::blah": 6 | raise RuntimeError 7 | -------------------------------------------------------------------------------- /Examples/test-suite/python/class_scope_weird_runme.py: -------------------------------------------------------------------------------- 1 | import class_scope_weird 2 | 3 | f = class_scope_weird.Foo() 4 | g = class_scope_weird.Foo(3) 5 | if f.bar(3) != 3: 6 | raise RuntimeError 7 | -------------------------------------------------------------------------------- /Examples/test-suite/python/constructor_rename_runme.py: -------------------------------------------------------------------------------- 1 | from constructor_rename import * 2 | 3 | x = RenamedConstructor() 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/cpp11_initializer_list_extend_runme.py: -------------------------------------------------------------------------------- 1 | import cpp11_initializer_list_extend 2 | 3 | c = cpp11_initializer_list_extend.Container([10, 20, 30, 40]) 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/cpp11_initializer_list_runme.py: -------------------------------------------------------------------------------- 1 | import cpp11_initializer_list 2 | 3 | a = cpp11_initializer_list.A() 4 | a = cpp11_initializer_list.A(11.1) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/director_alternating_runme.py: -------------------------------------------------------------------------------- 1 | from director_alternating import * 2 | 3 | id = getBar().id() 4 | if id != idFromGetBar(): 5 | raise RuntimeError, "Got wrong id: " + str(id) 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/director_default_runme.py: -------------------------------------------------------------------------------- 1 | from director_default import * 2 | 3 | 4 | f = Foo() 5 | f = Foo(1) 6 | 7 | 8 | f = Bar() 9 | f = Bar(1) 10 | -------------------------------------------------------------------------------- /Examples/test-suite/python/director_frob_runme.py: -------------------------------------------------------------------------------- 1 | from director_frob import * 2 | 3 | foo = Bravo() 4 | s = foo.abs_method() 5 | 6 | if s != "Bravo::abs_method()": 7 | raise RuntimeError, s 8 | -------------------------------------------------------------------------------- /Examples/test-suite/python/director_keywords_runme.py: -------------------------------------------------------------------------------- 1 | from director_keywords import * 2 | 3 | f = Foo() 4 | f.check_self(20) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/empty_c_runme.py: -------------------------------------------------------------------------------- 1 | import empty_c 2 | -------------------------------------------------------------------------------- /Examples/test-suite/python/empty_runme.py: -------------------------------------------------------------------------------- 1 | import empty 2 | -------------------------------------------------------------------------------- /Examples/test-suite/python/exception_classname_runme.py: -------------------------------------------------------------------------------- 1 | import exception_classname 2 | 3 | a = exception_classname.Exception() 4 | if a.testfunc() != 42: 5 | raise RuntimeError("Not 42!") 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/extend_variable_runme.py: -------------------------------------------------------------------------------- 1 | from extend_variable import * 2 | 3 | if Foo.Bar != 42: 4 | raise RuntimeError 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/extern_c_runme.py: -------------------------------------------------------------------------------- 1 | import extern_c 2 | 3 | extern_c.RealFunction(2) 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/fvirtual_runme.py: -------------------------------------------------------------------------------- 1 | from fvirtual import * 2 | 3 | sw = NodeSwitch() 4 | n = Node() 5 | i = sw.addChild(n) 6 | 7 | if i != 2: 8 | raise RuntimeError, "addChild" 9 | -------------------------------------------------------------------------------- /Examples/test-suite/python/global_ns_arg_runme.py: -------------------------------------------------------------------------------- 1 | from global_ns_arg import * 2 | 3 | a = foo(1) 4 | b = bar_fn() 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/iadd_runme.py: -------------------------------------------------------------------------------- 1 | import iadd 2 | 3 | f = iadd.Foo() 4 | 5 | f.AsA.x = 3 6 | f.AsA += f.AsA 7 | 8 | if f.AsA.x != 6: 9 | raise RuntimeError 10 | -------------------------------------------------------------------------------- /Examples/test-suite/python/keyword_rename_c_runme.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import keyword_rename_c 3 | keyword_rename_c._in(1) 4 | keyword_rename_c._except(1) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/keyword_rename_runme.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import keyword_rename 3 | keyword_rename._in(1) 4 | keyword_rename._except(1) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/li_std_vector_ptr_runme.py: -------------------------------------------------------------------------------- 1 | from li_std_vector_ptr import * 2 | 3 | ip1 = makeIntPtr(11) 4 | ip2 = makeIntPtr(22) 5 | 6 | vi = IntPtrVector((ip1, ip2)) 7 | displayVector(vi) 8 | -------------------------------------------------------------------------------- /Examples/test-suite/python/li_std_vector_runme.py: -------------------------------------------------------------------------------- 1 | from li_std_vector import * 2 | 3 | if typedef_test(101) != 101: 4 | raise RuntimeError 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/mod_runme.py: -------------------------------------------------------------------------------- 1 | import mod_a 2 | import mod_b 3 | 4 | c = mod_b.C() 5 | d = mod_b.D() 6 | d.DoSomething(c) 7 | -------------------------------------------------------------------------------- /Examples/test-suite/python/namespace_virtual_method_runme.py: -------------------------------------------------------------------------------- 1 | import namespace_virtual_method 2 | 3 | x = namespace_virtual_method.Spam() 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/operbool_runme.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import operbool 3 | if operbool.Test(): 4 | raise RuntimeError("operbool failed") 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/overload_copy_runme.py: -------------------------------------------------------------------------------- 1 | from overload_copy import * 2 | f = Foo() 3 | g = Foo(f) 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/rename_rstrip_encoder_runme.py: -------------------------------------------------------------------------------- 1 | from rename_rstrip_encoder import * 2 | 3 | s = SomeThing() 4 | a = AnotherThing() 5 | a.DoClsX() 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/rename_strip_encoder_runme.py: -------------------------------------------------------------------------------- 1 | from rename_strip_encoder import * 2 | 3 | s = SomeWidget() 4 | a = AnotherWidget() 5 | a.DoSomething() 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/sneaky1_runme.py: -------------------------------------------------------------------------------- 1 | import sneaky1 2 | x = sneaky1.add(3, 4) 3 | y = sneaky1.subtract(3, 4) 4 | z = sneaky1.mul(3, 4) 5 | w = sneaky1.divide(3, 4) 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/struct_rename_runme.py: -------------------------------------------------------------------------------- 1 | import struct_rename 2 | 3 | b = struct_rename.Bar() 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_construct_runme.py: -------------------------------------------------------------------------------- 1 | import template_construct 2 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_matrix_runme.py: -------------------------------------------------------------------------------- 1 | from template_matrix import * 2 | passVector([1, 2, 3]) 3 | passMatrix([[1, 2], [1, 2, 3]]) 4 | passCube([[[1, 2], [1, 2, 3]], [[1, 2], [1, 2, 3]]]) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_ns4_runme.py: -------------------------------------------------------------------------------- 1 | from template_ns4 import * 2 | 3 | d = make_Class_DD() 4 | if d.test() != "test": 5 | raise RuntimeError 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_opaque_runme.py: -------------------------------------------------------------------------------- 1 | import template_opaque 2 | 3 | v = template_opaque.OpaqueVectorType(10) 4 | 5 | template_opaque.FillVector(v) 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_ref_type_runme.py: -------------------------------------------------------------------------------- 1 | import template_ref_type 2 | 3 | xr = template_ref_type.XC() 4 | y = template_ref_type.Y() 5 | y.find(xr) 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_static_runme.py: -------------------------------------------------------------------------------- 1 | from template_static import * 2 | 3 | Foo_bar_double(1) 4 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_tbase_template_runme.py: -------------------------------------------------------------------------------- 1 | from template_tbase_template import * 2 | 3 | a = make_Class_dd() 4 | if a.test() != "test": 5 | raise RuntimeError 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/template_type_namespace_runme.py: -------------------------------------------------------------------------------- 1 | from template_type_namespace import * 2 | 3 | if type(foo()[0]) != type(""): 4 | raise RuntimeError 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/typedef_class_runme.py: -------------------------------------------------------------------------------- 1 | import typedef_class 2 | 3 | a = typedef_class.RealA() 4 | a.a = 3 5 | 6 | b = typedef_class.B() 7 | b.testA(a) 8 | -------------------------------------------------------------------------------- /Examples/test-suite/python/typedef_typedef_runme.py: -------------------------------------------------------------------------------- 1 | import typedef_typedef 2 | 3 | b = typedef_typedef.B() 4 | if b.getValue(123) != 1234: 5 | raise Exception("Failed") 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/typemap_arrays_runme.py: -------------------------------------------------------------------------------- 1 | from typemap_arrays import * 2 | 3 | if sumA(None) != 60: 4 | raise RuntimeError, "Sum is wrong" 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/typemap_delete_runme.py: -------------------------------------------------------------------------------- 1 | import typemap_delete 2 | 3 | r = typemap_delete.Rect(123) 4 | if r.val != 123: 5 | raise RuntimeError 6 | -------------------------------------------------------------------------------- /Examples/test-suite/python/typemap_ns_using_runme.py: -------------------------------------------------------------------------------- 1 | import typemap_ns_using 2 | 3 | if typemap_ns_using.spam(37) != 37: 4 | raise RuntimeError 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/typemap_out_optimal_runme.py: -------------------------------------------------------------------------------- 1 | from typemap_out_optimal import * 2 | 3 | cvar.XX_debug = False 4 | x = XX_create() 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/using1_runme.py: -------------------------------------------------------------------------------- 1 | import using1 2 | 3 | if using1.spam(37) != 37: 4 | raise RuntimeError 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/using2_runme.py: -------------------------------------------------------------------------------- 1 | import using2 2 | 3 | if using2.spam(37) != 37: 4 | raise RuntimeError 5 | -------------------------------------------------------------------------------- /Examples/test-suite/python/using_protected_runme.py: -------------------------------------------------------------------------------- 1 | from using_protected import * 2 | 3 | f = FooBar() 4 | f.x = 3 5 | 6 | if f.blah(4) != 4: 7 | raise RuntimeError, "blah(int)" 8 | -------------------------------------------------------------------------------- /Examples/test-suite/python/wrapmacro_runme.py: -------------------------------------------------------------------------------- 1 | import wrapmacro 2 | 3 | a = 2 4 | b = -1 5 | wrapmacro.maximum(a, b) 6 | wrapmacro.maximum(a / 7.0, -b * 256) 7 | wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1) 8 | -------------------------------------------------------------------------------- /Examples/test-suite/python_overload_simple_cast.i: -------------------------------------------------------------------------------- 1 | // Simple tests of overloaded functions 2 | %module("castmode") python_overload_simple_cast 3 | 4 | %include overload_simple.i 5 | -------------------------------------------------------------------------------- /Examples/test-suite/register_par.i: -------------------------------------------------------------------------------- 1 | %module register_par 2 | 3 | // bug # 924413 4 | %inline { 5 | void clear_tree_flags(register struct tree *tp, register int i) {} 6 | } 7 | -------------------------------------------------------------------------------- /Examples/test-suite/ruby/README: -------------------------------------------------------------------------------- 1 | See ../README for common README file. 2 | 3 | Any testcases which have _runme.rb appended after the testcase name will be detected and run. 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/ruby/char_constant_runme.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Examples/test-suite/ruby/char_constant_runme.rb -------------------------------------------------------------------------------- /Examples/test-suite/schemerunme/char_constant.scm: -------------------------------------------------------------------------------- 1 | (if (and (char? (CHAR-CONSTANT)) 2 | (string? (STRING-CONSTANT))) 3 | (exit 0) 4 | (exit 1)) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/schemerunme/class_ignore.scm: -------------------------------------------------------------------------------- 1 | (define a (new-Bar)) 2 | 3 | (if (not (string=? (Bar-blah a) "Bar::blah")) 4 | (error "Wrong string")) 5 | 6 | (exit 0) 7 | -------------------------------------------------------------------------------- /Examples/test-suite/schemerunme/import_nomodule.scm: -------------------------------------------------------------------------------- 1 | (define f (create-Foo)) 2 | (test1 f 42) 3 | 4 | (define b (new-Bar)) 5 | (test1 b 37) 6 | 7 | (exit 0) 8 | -------------------------------------------------------------------------------- /Examples/test-suite/schemerunme/name.scm: -------------------------------------------------------------------------------- 1 | (foo-2) 2 | bar-2 3 | Baz-2 4 | 5 | (exit 0) 6 | -------------------------------------------------------------------------------- /Examples/test-suite/schemerunme/overload_copy.scm: -------------------------------------------------------------------------------- 1 | (define f (new-Foo)) 2 | (define g (new-Foo f)) 3 | 4 | (exit 0) 5 | -------------------------------------------------------------------------------- /Examples/test-suite/schemerunme/overload_subtype.scm: -------------------------------------------------------------------------------- 1 | (if (not (= (spam (new-Foo)) 1)) 2 | (error "foo")) 3 | 4 | (if (not (= (spam (new-Bar)) 2)) 5 | (error "bar")) 6 | 7 | (exit 0) 8 | -------------------------------------------------------------------------------- /Examples/test-suite/scilab/allowexcept_runme.sci: -------------------------------------------------------------------------------- 1 | exec("swigtest.start", -1); 2 | 3 | // TODO: add tests here 4 | 5 | exec("swigtest.quit", -1); 6 | -------------------------------------------------------------------------------- /Examples/test-suite/scilab/empty_c_runme.sci: -------------------------------------------------------------------------------- 1 | exec("swigtest.start", -1); 2 | 3 | exec("swigtest.quit", -1); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/scilab/empty_runme.sci: -------------------------------------------------------------------------------- 1 | exec("swigtest.start", -1); 2 | 3 | exec("swigtest.quit", -1); 4 | -------------------------------------------------------------------------------- /Examples/test-suite/scilab/li_math_runme.sci: -------------------------------------------------------------------------------- 1 | exec("swigtest.start", -1); 2 | 3 | try 4 | x = fmod(M_PI_get(), M_1_PI_get()) 5 | catch 6 | swigtesterror(); 7 | end 8 | 9 | exec("swigtest.quit", -1); -------------------------------------------------------------------------------- /Examples/test-suite/scilab/swigtest.quit: -------------------------------------------------------------------------------- 1 | // Exit from Scilab 2 | exit 3 | -------------------------------------------------------------------------------- /Examples/test-suite/struct_rename.i: -------------------------------------------------------------------------------- 1 | %module struct_rename 2 | 3 | %rename(Bar) Foo; 4 | 5 | %inline %{ 6 | typedef struct { 7 | int x; 8 | } Foo; 9 | 10 | %} 11 | 12 | -------------------------------------------------------------------------------- /Examples/test-suite/tcl/README: -------------------------------------------------------------------------------- 1 | See ../README for common README file. 2 | 3 | Any testcases which have _runme.tcl appended after the testcase name will be detected and run. 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/template_typedef_cplx2.i: -------------------------------------------------------------------------------- 1 | %module template_typedef_cplx2 2 | 3 | %{ 4 | #include "template_typedef_cplx2.h" 5 | %} 6 | 7 | %include "template_typedef_cplx2.h" 8 | -------------------------------------------------------------------------------- /Examples/test-suite/template_typedef_import.list: -------------------------------------------------------------------------------- 1 | template_typedef_cplx2 2 | template_typedef_import 3 | -------------------------------------------------------------------------------- /Examples/test-suite/testdir/inctest/subdir1/imports.i: -------------------------------------------------------------------------------- 1 | #ifndef subdir1_imports_i_ 2 | #define subdir1_imports_i_ 3 | 4 | typedef int Integer; 5 | 6 | #endif //subdir1_imports_i_ 7 | -------------------------------------------------------------------------------- /Examples/test-suite/testdir/inctest/subdir1/subinc1.i: -------------------------------------------------------------------------------- 1 | // %include twice to check include header guards 2 | %include "hello.i" 3 | %include "hello.i" 4 | %import "imports.i" 5 | %import "imports.i" 6 | -------------------------------------------------------------------------------- /Examples/test-suite/testdir/inctest/subdir2/imports.i: -------------------------------------------------------------------------------- 1 | #ifndef subdir2_imports_i_ 2 | #define subdir2_imports_i_ 3 | 4 | typedef char * TypedefString; 5 | 6 | #endif //subdir2_imports_i_ 7 | -------------------------------------------------------------------------------- /Examples/test-suite/testdir/inctest/subdir2/subinc2.i: -------------------------------------------------------------------------------- 1 | %include "hello.i" 2 | %import "imports.i" 3 | 4 | -------------------------------------------------------------------------------- /Examples/test-suite/testdir/inctest/test.i: -------------------------------------------------------------------------------- 1 | 2 | %include "subdir1/subinc1.i" 3 | %include "subdir2/subinc2.i" 4 | 5 | -------------------------------------------------------------------------------- /Examples/test-suite/traits.i: -------------------------------------------------------------------------------- 1 | %module traits 2 | 3 | %include typemaps/traits.swg 4 | 5 | 6 | %fragment("Traits"); 7 | -------------------------------------------------------------------------------- /Examples/test-suite/typedef_sizet.i: -------------------------------------------------------------------------------- 1 | %module typedef_sizet 2 | 3 | typedef unsigned long long size_t; 4 | %inline %{ 5 | size_t size(size_t x) {return x; } 6 | %} 7 | -------------------------------------------------------------------------------- /Examples/test-suite/typedef_struct_cpp.i: -------------------------------------------------------------------------------- 1 | %module typedef_struct_cpp 2 | 3 | %include "typedef_struct.i" 4 | -------------------------------------------------------------------------------- /Examples/xml/error.i: -------------------------------------------------------------------------------- 1 | %module error 2 | enum { RED=10, GREEN, BLUE }; -------------------------------------------------------------------------------- /Examples/xml/example.h: -------------------------------------------------------------------------------- 1 | // i add this file because it's referenced by other files. 2 | // someone should replace these comments w/ proper content. 3 | // --ttn, 2001/01/16 17:44:19 4 | -------------------------------------------------------------------------------- /Examples/xml/example.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %module example 3 | 4 | %apply int *OUTPUT { int *r }; 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Examples/xml/example_inl.h: -------------------------------------------------------------------------------- 1 | /* File : example.h */ 2 | 3 | typedef struct { 4 | double x, y, z; 5 | } Vector; 6 | -------------------------------------------------------------------------------- /Examples/xml/example_ro.i: -------------------------------------------------------------------------------- 1 | /* File : example.i */ 2 | %readonly 3 | extern int status; 4 | extern char path[256]; 5 | 6 | 7 | -------------------------------------------------------------------------------- /Lib/allegrocl/typemaps.i: -------------------------------------------------------------------------------- 1 | /* Unused for Allegro CL module */ 2 | 3 | %include "inout_typemaps.i" 4 | %include "longlongs.i" 5 | -------------------------------------------------------------------------------- /Lib/chicken/extra-install.list: -------------------------------------------------------------------------------- 1 | swigclosprefix.scm 2 | multi-generic.scm 3 | tinyclos-multi-generic.patch 4 | -------------------------------------------------------------------------------- /Lib/csharp/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | 6 | -------------------------------------------------------------------------------- /Lib/csharp/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/csharp/std_shared_ptr.i: -------------------------------------------------------------------------------- 1 | #define SWIG_SHARED_PTR_NAMESPACE std 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/d/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | 6 | -------------------------------------------------------------------------------- /Lib/d/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/d/std_shared_ptr.i: -------------------------------------------------------------------------------- 1 | #define SWIG_SHARED_PTR_NAMESPACE std 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/go/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | -------------------------------------------------------------------------------- /Lib/go/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/guile/Makefile: -------------------------------------------------------------------------------- 1 | 2 | co: 3 | co RCS/*.i* RCS/*.swg* 4 | -------------------------------------------------------------------------------- /Lib/guile/extra-install.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | common.scm 3 | -------------------------------------------------------------------------------- /Lib/guile/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/java/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | 6 | -------------------------------------------------------------------------------- /Lib/java/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/java/std_shared_ptr.i: -------------------------------------------------------------------------------- 1 | #define SWIG_SHARED_PTR_NAMESPACE std 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/complex.i: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | %include 3 | #else 4 | %include 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | 6 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/jsc/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/v8/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/v8/complex.i: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | %include 3 | #else 4 | %include 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /Lib/javascript/v8/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/v8/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | 6 | -------------------------------------------------------------------------------- /Lib/javascript/v8/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/v8/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/javascript/v8/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/lua/std_common.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %apply size_t { std::size_t }; 4 | %apply const size_t& { const std::size_t& }; 5 | 6 | -------------------------------------------------------------------------------- /Lib/lua/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/attribute.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | %insert("runtime") { 5 | %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; )) 6 | } 7 | -------------------------------------------------------------------------------- /Lib/matlab/factory.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/matlabfragments.swg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Lib/matlab/std_alloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/std_char_traits.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/std_container.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/matlab/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/std_ios.i: -------------------------------------------------------------------------------- 1 | %rename(ios_base_in) std::ios_base::in; 2 | 3 | %include 4 | -------------------------------------------------------------------------------- /Lib/matlab/std_iostream.i: -------------------------------------------------------------------------------- 1 | namespace std 2 | { 3 | %callback(1) endl; 4 | %callback(1) ends; 5 | %callback(1) flush; 6 | } 7 | 8 | %include 9 | -------------------------------------------------------------------------------- /Lib/matlab/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/matlab/typemaps.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/mzscheme/Makefile: -------------------------------------------------------------------------------- 1 | 2 | co: 3 | co RCS/*.i* RCS/*.swg* 4 | -------------------------------------------------------------------------------- /Lib/mzscheme/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ocaml/extra-install.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | # libswigocaml is not needed anymore. 3 | swigp4.ml 4 | swig.mli 5 | swig.ml 6 | -------------------------------------------------------------------------------- /Lib/ocaml/typeregister.swg: -------------------------------------------------------------------------------- 1 | SWIGEXT void SWIG_init() { 2 | SWIG_InitializeModule(0); 3 | -------------------------------------------------------------------------------- /Lib/octave/attribute.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/carrays.i: -------------------------------------------------------------------------------- 1 | %define %array_class(TYPE,NAME) 2 | %array_class_wrap(TYPE,NAME,__paren__,__paren_asgn__) 3 | %enddef 4 | 5 | %include 6 | -------------------------------------------------------------------------------- /Lib/octave/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | %insert("runtime") { 5 | %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; )) 6 | } 7 | -------------------------------------------------------------------------------- /Lib/octave/factory.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/octfragments.swg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Lib/octave/std_alloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/std_carray.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaeandersson/swig/cd3f6c5fe9ed273fcc981dcae3e8b50d51529664/Lib/octave/std_carray.i -------------------------------------------------------------------------------- /Lib/octave/std_char_traits.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/std_container.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/octave/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/std_shared_ptr.i: -------------------------------------------------------------------------------- 1 | #define SWIG_SHARED_PTR_NAMESPACE std 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/octave/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/octave/typemaps.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/attribute.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/carrays.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | -------------------------------------------------------------------------------- /Lib/perl5/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/cpointer.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/cstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %insert("runtime") { 4 | %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; )) 5 | } 6 | -------------------------------------------------------------------------------- /Lib/perl5/extra-install.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | Makefile.pl noembed.h 3 | -------------------------------------------------------------------------------- /Lib/perl5/factory.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/perlmacros.swg: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | -------------------------------------------------------------------------------- /Lib/perl5/perluserdir.swg: -------------------------------------------------------------------------------- 1 | #define %perlcode %insert("perl") 2 | 3 | -------------------------------------------------------------------------------- /Lib/perl5/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/perl5/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/php/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/attribute.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/cni.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/python/complex.i: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | %include 3 | #else 4 | %include 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /Lib/python/cpointer.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/cstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/cwstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | 4 | -------------------------------------------------------------------------------- /Lib/python/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | %insert("runtime") { 5 | %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; )) 6 | } 7 | -------------------------------------------------------------------------------- /Lib/python/factory.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/pymacros.swg: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Lib/python/std_alloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_char_traits.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_container.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/python/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_ios.i: -------------------------------------------------------------------------------- 1 | %rename(ios_base_in) std::ios_base::in; 2 | 3 | %include 4 | -------------------------------------------------------------------------------- /Lib/python/std_iostream.i: -------------------------------------------------------------------------------- 1 | namespace std 2 | { 3 | %callback(1) endl; 4 | %callback(1) ends; 5 | %callback(1) flush; 6 | } 7 | 8 | %include 9 | -------------------------------------------------------------------------------- /Lib/python/std_shared_ptr.i: -------------------------------------------------------------------------------- 1 | #define SWIG_SHARED_PTR_NAMESPACE std 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/python/std_sstream.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_streambuf.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_wios.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_wsstream.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_wstreambuf.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/python/std_wstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | 4 | -------------------------------------------------------------------------------- /Lib/r/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/r/std_alloc.i: -------------------------------------------------------------------------------- 1 | %include -------------------------------------------------------------------------------- /Lib/r/std_container.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/r/std_deque.i: -------------------------------------------------------------------------------- 1 | %include -------------------------------------------------------------------------------- /Lib/r/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/r/std_list.i: -------------------------------------------------------------------------------- 1 | #define %swig_list_methods(Type...) %swig_sequence_methods(Type) 2 | #define %swig_list_methods_val(Type...) %swig_sequence_methods_val(Type); 3 | 4 | %include 5 | 6 | -------------------------------------------------------------------------------- /Lib/r/std_map.i: -------------------------------------------------------------------------------- 1 | %fragment("StdMapTraits","header") 2 | %{ 3 | %} 4 | 5 | %include 6 | -------------------------------------------------------------------------------- /Lib/r/std_pair.i: -------------------------------------------------------------------------------- 1 | %fragment("StdPairTraits","header") 2 | %{ 3 | %} 4 | 5 | %include 6 | -------------------------------------------------------------------------------- /Lib/r/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/r/typemaps.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/attribute.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/carrays.i: -------------------------------------------------------------------------------- 1 | %define %array_class(TYPE,NAME) 2 | %array_class_wrap(TYPE,NAME,__getitem__,__setitem__) 3 | %enddef 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /Lib/ruby/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/cni.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/ruby/cpointer.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/cstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %insert("runtime") { 4 | %define_as(SWIG_exception(code, msg), %block(%error(code, msg);)) 5 | } 6 | -------------------------------------------------------------------------------- /Lib/ruby/extra-install.list: -------------------------------------------------------------------------------- 1 | # see top-level Makefile.in 2 | Makefile.swig 3 | extconf.rb 4 | -------------------------------------------------------------------------------- /Lib/ruby/factory.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/rubydef.swg: -------------------------------------------------------------------------------- 1 | /* empty file added for backward comp. */ 2 | -------------------------------------------------------------------------------- /Lib/ruby/rubyinit.swg: -------------------------------------------------------------------------------- 1 | %insert(initbeforefunc) "swiginit.swg" 2 | -------------------------------------------------------------------------------- /Lib/ruby/std_alloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/std_char_traits.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/std_container.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/ruby/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/std_shared_ptr.i: -------------------------------------------------------------------------------- 1 | #define SWIG_SHARED_PTR_NAMESPACE std 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/ruby/std_sstream.i: -------------------------------------------------------------------------------- 1 | 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/ruby/std_streambuf.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/ruby/std_wstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | 4 | -------------------------------------------------------------------------------- /Lib/scilab/carrays.i: -------------------------------------------------------------------------------- 1 | %define %array_class(TYPE,NAME) 2 | %array_class_wrap(TYPE,NAME,__paren__,__paren_asgn__) 3 | %enddef 4 | 5 | %include 6 | -------------------------------------------------------------------------------- /Lib/scilab/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/scilab/cpointer.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/scilab/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | %insert("runtime") { 5 | %define_as(SWIG_exception(code, msg), SWIG_Scilab_Error(code, msg);) 6 | } 7 | -------------------------------------------------------------------------------- /Lib/scilab/scilab.swg: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | %include 4 | %include 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /Lib/scilab/std_alloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | -------------------------------------------------------------------------------- /Lib/scilab/std_char_traits.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/scilab/std_container.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | 4 | -------------------------------------------------------------------------------- /Lib/scilab/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/std/std_vectora.i: -------------------------------------------------------------------------------- 1 | // 2 | // We keep this file only for backward compatibility, since std_vector.i 3 | // now uses the std::allocator parameter. 4 | // 5 | 6 | %include 7 | 8 | -------------------------------------------------------------------------------- /Lib/std/std_wios.i: -------------------------------------------------------------------------------- 1 | /* 2 | Provide 'std_ios.i' with wchar support. 3 | */ 4 | 5 | %include 6 | %include 7 | 8 | -------------------------------------------------------------------------------- /Lib/std/std_wiostream.i: -------------------------------------------------------------------------------- 1 | /* 2 | Provide 'std_iostream.i' with wchar support. 3 | */ 4 | 5 | %include 6 | %include 7 | 8 | -------------------------------------------------------------------------------- /Lib/std/std_wsstream.i: -------------------------------------------------------------------------------- 1 | /* 2 | Provide 'std_sstream.i' with wchar support. 3 | */ 4 | 5 | %include 6 | %include 7 | 8 | -------------------------------------------------------------------------------- /Lib/std/std_wstreambuf.i: -------------------------------------------------------------------------------- 1 | /* 2 | Provide 'std_streambuf.i' with wchar support. 3 | */ 4 | 5 | %include 6 | %include 7 | 8 | -------------------------------------------------------------------------------- /Lib/tcl/attribute.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/carrays.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Lib/tcl/cdata.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/cmalloc.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/cni.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/tcl/cpointer.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/cstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/cwstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/tcl/exception.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | %insert("runtime") { 5 | %define_as(SWIG_exception(code, msg), %block(%error(code, msg); return TCL_ERROR;)) 6 | } 7 | -------------------------------------------------------------------------------- /Lib/tcl/factory.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/std_deque.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/std_except.i: -------------------------------------------------------------------------------- 1 | %include 2 | -------------------------------------------------------------------------------- /Lib/tcl/std_string.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | -------------------------------------------------------------------------------- /Lib/tcl/std_wstring.i: -------------------------------------------------------------------------------- 1 | %include 2 | %include 3 | -------------------------------------------------------------------------------- /Lib/tcl/tclmacros.swg: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Lib/xml/xml.swg: -------------------------------------------------------------------------------- 1 | /* nothing special */ -------------------------------------------------------------------------------- /Win/README.txt: -------------------------------------------------------------------------------- 1 | Please see the Doc/Manual/Windows.html file in the main manual for instructions for using and installing SWIG on Windows including running the examples. 2 | -------------------------------------------------------------------------------- /debian/dirs: -------------------------------------------------------------------------------- 1 | usr/bin 2 | usr/lib 3 | #usr/share/swig1.3-pnet 4 | #usr/share/doc/swig1.3-pnet 5 | -------------------------------------------------------------------------------- /debian/substvars: -------------------------------------------------------------------------------- 1 | shlibs:Depends=libc6 (>= 2.2.3-1), libstdc++2.10-glibc2.2 2 | -------------------------------------------------------------------------------- /vms/build_swig.com: -------------------------------------------------------------------------------- 1 | $ @swig_root:[vms.scripts]build_all 2 | -------------------------------------------------------------------------------- /vms/swigconfig.h: -------------------------------------------------------------------------------- 1 | 2 | /* Note that this file has changed. TODO Get the latest from the original version. */ 3 | --------------------------------------------------------------------------------