Commit graph

1,406 commits

Author SHA1 Message Date
Marcelo Matus
ccae4e1142 apply patches for std::string/std::vector provided by Anthony Heading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 15:17:45 +00:00
Marcelo Matus
efaac02bd2 add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 23:30:37 +00:00
Marcelo Matus
574fb19357 reduce polution of macro comments by using one line macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 23:27:03 +00:00
Marcelo Matus
c96bc2cd1b the visibility attribute also works with gcc3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 08:08:51 +00:00
Marcelo Matus
5c23745537 add support for the GCC visibility attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:40:56 +00:00
Marcelo Matus
64fe0620cb add visibility attribute for GCC, now you can compile using -fvisibility=hidden
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:14:57 +00:00
Marcelo Matus
cc30a3d0d7 better using SWIGEXPORT for DllExport
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 06:14:23 +00:00
Marcelo Matus
063cd988c4 add the DllExport label for backward compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:59:41 +00:00
Marcelo Matus
8b7fbd4d1c fix wrong %include reported by Jab Rehders
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:41:32 +00:00
Luigi Ballabio
427353eaf8 Fixed misspelled special variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 10:08:15 +00:00
Mikel Bancroft
6ee4d72a10 02/27/2006: mutandiz
[allegrocl]
	    Add support for INPUT, OUTPUT, and INOUT typemaps.
	    For OUTPUT variables, the lisp wrapper returns multiple
	    values.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 21:45:07 +00:00
Marcelo Matus
b672cccec3 fix std_map such that is not necessary to use %template() std::pair<xx,yy> everytime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 16:28:38 +00:00
Marcelo Matus
eb3369a76b add missing typecheck typemap for argc,argv
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 03:00:26 +00:00
Marcelo Matus
52550fab2f add argc,argv typemap for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 02:59:09 +00:00
Marcelo Matus
99fd5a1a8b update iterator typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 09:23:49 +00:00
Marcelo Matus
0b1cec9948 update iterator typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 09:22:42 +00:00
Marcelo Matus
0fec7b79cc add '= 0' to avoid warnings in icc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 08:33:22 +00:00
Marcelo Matus
98e8c01ea7 add '= 0' to avoid warnings in icc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 08:21:12 +00:00
Marcelo Matus
ec0a5f8815 add '= 0' to avoid warnings in icc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 08:07:36 +00:00
Marcelo Matus
c41f10fd9c fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 23:45:28 +00:00
Marcelo Matus
872e6e5d39 reduce the aliasing warnings (when compiling with CFLAGS='-O2 -Wstrict-aliasing=2') to the minimum, ie, enums and pointer to functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 22:24:30 +00:00
Marcelo Matus
14b049e8bd reduce the aliasing warnings (when compiling with CFLAGS='-O2 -Wstrict-aliasing=2') to the minimum, ie, enums and pointer to functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:43:33 +00:00
Marcelo Matus
da1a23a6a2 fix char *& typemap, reported by Geoff Hutchison
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:26:36 +00:00
Kevin Ruland
2ea0f2662f Added some TSRMLS_FETCH() calls to initialize the tsrmls_cc variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:04:11 +00:00
Marcelo Matus
31b6e161eb fixes for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:08:49 +00:00
Marcelo Matus
52ca5dcdf6 add the factory library for UTL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:42:20 +00:00
Marcelo Matus
7bf9d1746a delete extra new lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:41:40 +00:00
Marcelo Matus
8e29e828be fix for Py_NotImplemented as reported by Olly and Amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 16:59:00 +00:00
Charlie Savage
aff76328a7 Fixed a bug in Ruby's object tracking functionality. Previously, an object could be returned even if it did not have the correct type. This could occur if a factory class' creation method had a signature returning a base type (like geometry) but in reality a subclass (like Point) was returned. In that case, it would then be impossible to implement a "downcast" method and get back a Ruby object of type Point. Also updated the test-suite to test this situation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 08:20:48 +00:00
Marcelo Matus
ae83eaab01 fix seterrormsg as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:42:54 +00:00
Marcelo Matus
c58c487181 cosmetic for generated python code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:33:18 +00:00
William S Fulton
e960842b55 Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:15:23 +00:00
Matthias Köppe
bf1f3e4c09 [MzScheme] Typemaps for all integral types now accept the full range
of integral values, and they signal an error when a value outside the
valid range is passed.

[Guile] Typemaps for all integral types now signal an error when a
value outside the valid range is passed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:42 +00:00
Marcelo Matus
027e8561ae fix for python 2.3 and gc_refs issue reported by Luigi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 20:54:17 +00:00
Marcelo Matus
f1a00ddf25 more fixes for old Solaris compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 08:17:23 +00:00
Marcelo Matus
5ebfa83e66 fix warning reported by Nitro in VC7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:27:30 +00:00
Marcelo Matus
609c14457d fix premature object deletion reported by Paul in tcl3d
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:19:50 +00:00
William S Fulton
a8ed3543a8 Fix Sun workshop char* problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:20:19 +00:00
Kevin Ruland
0a79bdb042 Added TSRMLS_CC to get_constant call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 21:28:08 +00:00
Mark Gossage
29c7334a8f added correct void* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 02:49:55 +00:00
Marcelo Matus
0a0702f086 more keyword fixes, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 22:01:51 +00:00
Marcelo Matus
390c3e2ae1 more comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:36:39 +00:00
Marcelo Matus
c9639395c9 uniform the location of the includes and fixes, now in perlhead.swg as rubyhead.swg and pyhead.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:33:52 +00:00
William S Fulton
264cd3132f More and better fixes for older versions of perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 02:21:26 +00:00
Marcelo Matus
f1f328a58d comments, clean and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 02:20:17 +00:00
Marcelo Matus
bdc5dc78a8 simplify generated code and more consistent names/sections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 01:57:32 +00:00
William S Fulton
c9de72f7ce Rearrange macros, keeping SWIG macros together and missing perl macros together.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 22:54:23 +00:00
Marcelo Matus
a81d0c4691 more fixes for old perl versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 20:37:20 +00:00
Marcelo Matus
f501d6eca9 define SvIOK_UV if missing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 19:36:01 +00:00
William S Fulton
7260176b7f Support for older versions of Perl again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 16:40:08 +00:00