summaryrefslogtreecommitdiff
path: root/Examples/python/multimap
Commit message (Collapse)AuthorAgeFilesLines
* Remove some usage of strdupWilliam S Fulton2022-05-071-3/+5
| | | | | To fix visual c++ warning: warning C4996: 'strdup': The POSIX name for this item is deprecated.
* Modify examples to be both Python 2 and 3 compatibleWilliam S Fulton2020-08-151-3/+3
| | | | For removing dependency on 2to3
* Add missing checks for failures in calls to PyUnicode_AsUTF8String.William S Fulton2017-12-041-1/+11
| | | | | Previously a seg fault could occur when passing invalid UTF8 strings (low surrogates), eg passing u"\udcff" to the C layer (Python 3).
* Correct docs and examples to call SWIG_fail after setting a Python errorWilliam S Fulton2016-10-231-2/+2
| | | | | Although 'return NULL' works, it may miss out on some cleanup and NULL is the wrong value to return in generated code for overloaded functions.
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-3/+6
| | | | | | | | | | | | | Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473.
* Warning fixes in generated Python code for 64bit Visual C++ on Windows.William S Fulton2015-07-031-3/+3
|
* autopep8 cleanup of Examples/python whitespaceJon Schlueter2015-05-081-11/+4
| | | | automated cleanup only of the Examples/python example code
* Portability fixes for python exampleWilliam S Fulton2015-04-041-2/+2
|
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* Fix assorted comment and documentation typosOlly Betts2014-02-231-1/+1
|
* Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => ↵William S Fulton2013-06-111-1/+1
| | | | SWIG_PYTHON_INTERPRETER_NO_DEBUG
* Add SWIG_PYTHON_NO_DEBUG macro for building Debug wrappers against the ↵William S Fulton2013-06-111-1/+1
| | | | Python Debug dll
* Fix Python examples to compile and run under Python 3William S Fulton2013-05-261-10/+37
|
* Python examples makefiles clean target fixed and use RUNPIPE and tidyupWilliam S Fulton2013-04-191-8/+7
|
* Fix Visual Studio examples to work when SWIG is unzipped into a directory ↵William S Fulton2013-01-151-2/+2
| | | | containing spaces.
* invoke using swig.exe instead of just swig in Visual Studio project filesWilliam S Fulton2009-03-201-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* warning fixWilliam S Fulton2009-01-091-1/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Merged the Python 3.0 support branch. The merging progress is not so smooth, ↵Haoyu Bai2008-09-112-1/+32
| | | | | | | | | | | | | so hope this commit won't make anything broken. This is the (incomplemete) log produced by svnmerge.py: Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-181-148/+148
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-031-14/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2006-11-201-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use .pyd instead of .dll as Python-2.5 stops working with dllsWilliam S Fulton2006-11-201-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Correct some commentsWilliam S Fulton2006-07-041-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix for Visual Studio Express 2005 without database support installed - no ↵William S Fulton2006-02-071-4/+4
| | | | | | need to link against database libs git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add %typemap(LANG,..) warning 1387184Marcelo Matus2006-01-051-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* massive typemap unificationMarcelo Matus2005-10-181-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix extern declarationsWilliam S Fulton2005-06-281-0/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* warning fixesWilliam S Fulton2004-11-021-5/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* .cvsignoreWilliam S Fulton2004-01-201-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Warning fixesWilliam S Fulton2004-01-071-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* example.dll fixed to _example.dllWilliam S Fulton2003-05-211-2/+2
| | | | | | | Missing quotes for environment variables - fixes problem when it contains a space git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* VC++ pollutionWilliam S Fulton2003-02-251-0/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* The great mergeDave Beazley2002-11-306-0/+339
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22