Commit graph

73 commits

Author SHA1 Message Date
Marcelo Matus
d5122e2a9c force examples to use preinst-swig, as is done in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:17:20 +00:00
Marcelo Matus
6de5dc38fe use preinst-swig in all the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:48:51 +00:00
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
ec75a4e978 warning/error fixes for Visual Studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 13:49:44 +00:00
Marcelo Matus
48e2a09715 add swigpyrun.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:15:24 +00:00
Marcelo Matus
6777a49b1f add more docs and cases about how to use the %execption directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:06:41 +00:00
William S Fulton
c47c930f59 fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
Marcelo Matus
fbdf160f4a update to use -export-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 20:24:01 +00:00
Marcelo Matus
56dd829f7a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:43:49 +00:00
Marcelo Matus
6b499410dd more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
ae287532ae CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:37:15 +00:00
Marcelo Matus
520d9238c0 adding readme and minor runme.py fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 18:22:53 +00:00
Marcelo Matus
58326f9cc8 adding Prabhu's 'weave' example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 17:19:13 +00:00
Marcelo Matus
492c58c659 using the global runtime.swg instead of python/pyrunalias.swg. Now the same solution can be used in other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:36:26 +00:00
Marcelo Matus
73b3b898d6 add example of how to include the swig runtime code into external user code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:42:25 +00:00
Marcelo Matus
1b9dfb5838 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:40:02 +00:00
Marcelo Matus
3c0ce89d32 example of how to include the swig runtime code into external user code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:39:09 +00:00
Marcelo Matus
791f17abe4 fix warnings when using directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 23:18:01 +00:00
William S Fulton
3ef946d2d1 html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:13:39 +00:00
William S Fulton
49b2144e84 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:29:44 +00:00
Marcelo Matus
256efdf85b attributefunc not longer supported
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:22:25 +00:00
William S Fulton
e08fb23b8a incomplete and possibly out of date example removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:44:50 +00:00
William S Fulton
1885bc8f80 back to non-inlined destructors until the makefiles are fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:01:22 +00:00
William S Fulton
8dced082d4 Update for new runtime library approach (no more -runtime -noruntime)
Comment about inline destructors needed for some compilers added


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:59:55 +00:00
Marcelo Matus
b9832ab0f0 fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
John Lenz
d33f398c63 Update Examples to not build runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:56:35 +00:00
William S Fulton
ed445c6f54 Added missing Visual Studio project file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-06 22:21:28 +00:00
Marcelo Matus
c1549aa7b9 fix warnings with virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:43:17 +00:00
Marcelo Matus
05c465e72e more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 07:24:39 +00:00
William S Fulton
de9c2d5040 Windows example no longer uses prebuilt runtime DLL, rather it builds its own runtime DLL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-11 21:14:45 +00:00
William S Fulton
d1f74a864f import and import_template examples that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:37:37 +00:00
William S Fulton
db374a14f4 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
Marcelo Matus
54737ee9a9 - recover the proper catching exception mechanism for classes
(throw typemap).

- fix the examples with exception problems and warnings

- proper and consist treatment of basic types (short, unsigned char,...)

  now all are checked for range and sign. Before, this was depending of
  the use of parsing or no parsing, and/or the converter method, and/or
  the use of directors, etc.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 01:15:10 +00:00
William S Fulton
00a87d5a4b Added missing tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 21:27:27 +00:00
William S Fulton
5941257668 .cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 21:25:32 +00:00
William S Fulton
7381bddd84 Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:27:23 +00:00
William S Fulton
24c09718b8 New -noruntime commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:08:16 +00:00
Dave Beazley
5321307d02 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:48:36 +00:00
Dave Beazley
1626a047de Changed -c to -noruntime.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:54 +00:00
Dave Beazley
ceda8b7655 changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:12 +00:00
Dave Beazley
8ed7e36a20 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:38:02 +00:00
Dave Beazley
e7a74c2646 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:37:17 +00:00
William S Fulton
2d9ed7eea2 Minor tidyup mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:07:49 +00:00
William S Fulton
5a33bdba29 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 21:04:16 +00:00
William S Fulton
d66890561e example.dll fixed to _example.dll
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
2003-05-21 21:24:28 +00:00
William S Fulton
aeb43fbfd1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-20 09:00:38 +00:00
William S Fulton
a8e74f2074 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 15:32:36 +00:00
William S Fulton
84d66f092b Visual C++ project files for building native Windows runtime libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 15:19:10 +00:00
William S Fulton
97565bb8a7 Fixes the runtime library examples to link with the runtime library. Required for Cygwin.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:57:26 +00:00