William S Fulton
35ef98f4d0
Give same name to common example
2017-02-06 20:30:13 +00:00
William S Fulton
760c008311
Warning fixes for gcc-7
...
warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
2017-02-06 20:30:09 +00:00
William S Fulton
b5873218b6
Ruby mark_function example and docs fixes
...
Relates to Ruby trackings hash bug #225
2015-09-05 15:30:50 +01:00
William S Fulton
8e2bc595c6
Remove use of preinst-swig script
...
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 .
2015-08-21 22:43:17 +01:00
Olly Betts
ac1f067ce9
Eliminate trivial differences between the reference examples
2014-11-07 15:34:43 +13:00
William S Fulton
f39ed94419
Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type
2014-05-24 13:13:32 +01:00
Karl Wette
f574a34155
Allow examples and test-suite to be built out of source tree
...
- 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
2014-05-11 23:21:10 +02:00
Karl Wette
b6c1889c08
Fix {python|perl5|ruby|tcl}/java examples
...
- 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
2014-05-02 21:44:42 +02:00
Karl Wette
3aacde4f5f
Whitespace cleanup of Example Makefiles
2014-04-16 12:06:02 +02:00
Olly Betts
0de4cf13a8
Further cleaning up of class examples
2014-02-24 10:10:24 +13:00
Olly Betts
34c97ffdbd
Improve the class example for several languages.
...
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
2014-02-23 18:24:51 +13:00
Olly Betts
2f3bf144c6
Fix assorted comment and documentation typos
2014-02-23 17:15:22 +13:00
William S Fulton
b170788459
Executable bits and shebang fixes
2014-02-16 17:30:41 +00:00
William S Fulton
152905e193
Fix gcc -Waddress warning in variables examples
2013-10-18 06:53:02 +01:00
William S Fulton
486eca2faa
Disable Ruby free_function test for now.
...
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.
2013-04-21 18:24:37 +01:00
William S Fulton
205d50a8c9
Ruby 1.9 fixes: use ruby -I in Makefile and workaround clash with 1.9 builtin Complex numbers in the operator example.
2013-04-21 14:05:56 +01:00
William S Fulton
bdf38a8507
Ruby examples makefiles and use RUNPIPE and tidyup
2013-04-19 22:47:26 +01:00
William S Fulton
dbd86d3747
Ruby example not working when run - needs fixing/checking
2013-04-19 22:47:26 +01:00
William S Fulton
78cd350fe9
Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces.
2013-01-15 07:18:20 +00:00
Klaus Kämpf
23771ef027
Ruby: Replace all occurences of STR2CSTR macro with calls to StringValuePtr
...
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
2012-12-14 15:48:31 +00:00
William S Fulton
d64d31a5fa
Compile fixes for ruby-1.9.x
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-13 17:12:15 +00:00
William S Fulton
3932d02a2a
fix SWIG naming convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-21 00:25:11 +00:00
William S Fulton
48203afbd0
invoke using swig.exe instead of just swig in Visual Studio project files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:54:43 +00:00
William S Fulton
65f79a952c
Apply small documentation fix - patch #2579863
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:40:39 +00:00
William S Fulton
e7f8954bea
remove svn:executable property where applied incorrectly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:54:49 +00:00
William S Fulton
f396ecc619
fix runtime problem in Ruby std_vector example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:34:49 +00:00
William S Fulton
3463ced917
various warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 23:25:20 +00:00
William S Fulton
600deef43d
Fix Ruby C++ example dependencies in dsp files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 21:07:49 +00:00
William S Fulton
76eaea911b
shadow->proxy terminlogy update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 18:01:45 +00:00
William S Fulton
a66071a8c7
64 bit portability fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 22:28:55 +00:00
William S Fulton
532cb45882
eol-style set to CRLF
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:20:27 +00:00
William S Fulton
03d766a7ce
eol-style set to CRLF
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:19:24 +00:00
William S Fulton
925adeb175
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:54:31 +00:00
William S Fulton
f5bdd056f7
Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
William S Fulton
08f3b56f9b
calling the callback functions directly added to the example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-02 23:18:46 +00:00
John Lenz
6dda6f8321
Remove cvsignore files: this is stored on svn:igonre property now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
William S Fulton
65c52f7c06
use $self special variable instead of self in %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 01:01:37 +00:00
William S Fulton
5e638de46c
Correct some comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 20:48:08 +00:00
William S Fulton
c772286a5d
remove sprintf deprecated message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:38:54 +00:00
William S Fulton
615df3789a
Fix for Visual Studio Express 2005 without database support installed - no need to link against database libs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 20:50:27 +00:00
William S Fulton
664d00336d
update for mailing lists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 18:29:53 +00:00
Marcelo Matus
c18f0bd237
simplify Makefiles
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:19:58 +00:00
Marcelo Matus
d6dc014907
fix Makefiles for cygwin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 20:45:15 +00:00
Marcelo Matus
a925249e0b
change the %catchs name to %catches
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:17:15 +00:00
Charlie Savage
650ea1c873
New example showing use of %catchs and %
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 22:45:58 +00:00
Charlie Savage
c6baa21db4
Updated to match change in exceptions thrown for previously deleted objects.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 03:38:51 +00:00
William S Fulton
bf80147426
better approach to running gcj tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:30:37 +00:00
William S Fulton
3421742f46
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:17:12 +00:00
William S Fulton
6db2ccd202
Only run gcj tests when gcj is installed on the box
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:53:53 +00:00
Marcelo Matus
89e7497ac6
add support for named warning codes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00