summaryrefslogtreecommitdiff
path: root/Examples/ruby
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-11/+3
|
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-243-4/+4
| | | | -Wreturn-type
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1123-97/+97
| | | | | | | | | | | | | | | | | | | | | | | - 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 {python|perl5|ruby|tcl}/java examplesKarl Wette2014-05-021-4/+4
| | | | | | | | | | - in Lib/gcj/cni.i: remove JvAllocObject(), change JvCreateJavaVM() argument from void* to JvVMInitArgs* - in Examples/{python|perl5|ruby|tcl}/java/Makefile: pass full class name to gcjh, add Example.h as dependency, do not override CXX for compiling C++ sources - in Examples/python/java/example.i: add destructor to class to prevent memory loss complaint
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-169-14/+13
|
* Further cleaning up of class examplesOlly Betts2014-02-242-3/+2
|
* Improve the class example for several languages.Olly Betts2014-02-234-72/+28
| | | | | Fix numerous inaccuracies in index.html (where it exists) and eliminate unnecessary differences between the example code being wrapped.
* Fix assorted comment and documentation typosOlly Betts2014-02-231-1/+1
|
* Executable bits and shebang fixesWilliam S Fulton2014-02-164-0/+0
|
* Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-181-1/+1
|
* Disable Ruby free_function test for now.William S Fulton2013-04-211-1/+1
| | | | | | It is failing in Travis builds with 'ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]' but okay with 'ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]'. Relying on timely Garbage collection is probably flawed anyway.
* Ruby 1.9 fixes: use ruby -I in Makefile and workaround clash with 1.9 ↵William S Fulton2013-04-211-3/+3
| | | | builtin Complex numbers in the operator example.
* Ruby examples makefiles and use RUNPIPE and tidyupWilliam S Fulton2013-04-1923-117/+136
|
* 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-159-18/+18
| | | | containing spaces.
* Ruby: Replace all occurences of STR2CSTR macro with calls to StringValuePtrKlaus Kämpf2012-12-142-4/+4
| | | | | | | | STR2CSTR was deprecated in Ruby since years and got finally removed in Ruby 1.9 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Compile fixes for ruby-1.9.xWilliam S Fulton2010-02-131-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix SWIG naming conventionWilliam S Fulton2009-08-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* invoke using swig.exe instead of just swig in Visual Studio project filesWilliam S Fulton2009-03-209-18/+18
| | | | 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
* remove svn:executable property where applied incorrectlyWilliam S Fulton2008-11-262-0/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix runtime problem in Ruby std_vector exampleWilliam S Fulton2008-09-011-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10805 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-217-14/+14
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* shadow->proxy terminlogy updateWilliam S Fulton2008-04-291-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* 64 bit portability fixesWilliam S Fulton2007-10-291-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-189-1346/+1346
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-181-65/+65
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvs $Header$William S Fulton2007-10-1710-21/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove obscure mpointer example and replace with member_pointer.i testcase ↵William S Fulton2007-08-096-179/+0
| | | | | | and runtime examples git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* calling the callback functions directly added to the exampleWilliam S Fulton2007-08-021-0/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-0323-235/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* use $self special variable instead of self in %extendWilliam S Fulton2006-11-083-5/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Correct some commentsWilliam S Fulton2006-07-043-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove sprintf deprecated messageWilliam S Fulton2006-03-052-0/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix for Visual Studio Express 2005 without database support installed - no ↵William S Fulton2006-02-079-36/+36
| | | | | | need to link against database libs git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* update for mailing listsWilliam S Fulton2006-02-071-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* simplify MakefilesMarcelo Matus2006-01-221-3/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix Makefiles for cygwinMarcelo Matus2006-01-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* change the %catchs name to %catchesMarcelo Matus2006-01-101-7/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* New example showing use of %catchs and %Charlie Savage2006-01-104-0/+160
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8355 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
* better approach to running gcj testsWilliam S Fulton2006-01-081-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2006-01-081-2/+13
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Only run gcj tests when gcj is installed on the boxWilliam S Fulton2006-01-082-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add support for named warning codesMarcelo Matus2006-01-062-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* silence new leak warningsMarcelo Matus2006-01-051-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* uniform cni examplesMarcelo Matus2006-01-031-2/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add tcl+java exampleMarcelo Matus2005-12-301-0/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add jstring.i for rubyMarcelo Matus2005-12-302-0/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22