summaryrefslogtreecommitdiff
path: root/Examples/ruby/free_function
Commit message (Collapse)AuthorAgeFilesLines
* Improve #include guard macrosOlly Betts2022-07-191-3/+3
| | | | | | | Avoid using reserved identifiers such as `_DOHINT_H` (fixes #1989), fix cases where the name doesn't match the filename, and make the naming more consistent and less likely to collide with include guards in other headers.
* Do not abort when unlinking non-data ruby objectsCyrille Faucheux2017-12-271-1/+5
| | | | | | | | | Fixes issue #1168. Remove a call to abort() (introduced by commit 0e725b5d9bd534964ae606852453df46d04037ee) made when SWIG_RubyUnlinkObjects() is called on non T_DATA objects. It can happen when the destruction of T_DATA objects is deferred: the Ruby GC first turn them to T_ZOMBIE, then calls their free method (SWIG_RubyUnlinkObjects()).
* 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.
* 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
* Ruby examples makefiles and use RUNPIPE and tidyupWilliam S Fulton2013-04-191-5/+6
|
* Ruby example not working when run - needs fixing/checkingWilliam S Fulton2013-04-191-1/+2
|
* 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
* Apply small documentation fix - patch #2579863William S Fulton2009-03-201-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* various warning fixesWilliam S Fulton2008-06-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix Ruby C++ example dependencies in dsp filesWilliam S Fulton2008-06-211-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-181-154/+154
| | | | 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-1/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 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
* Updated to match change in exceptions thrown for previously deleted objects.Charlie Savage2006-01-101-7/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add java example and missing cvsignore filesMarcelo Matus2005-12-301-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* force examples to use preinst-swig, as is done in the test-suiteMarcelo Matus2005-11-271-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* New example to test free_functions. Makes use of tracking objects ↵Charlie Savage2005-09-246-0/+375
functionality. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7522 626c5289-ae23-0410-ae9c-e8d60b6d4f22