Commit graph

1,394 commits

Author SHA1 Message Date
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
William S Fulton
f24ed65e94 perl_get_sv is deprecated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 16:37:14 +00:00
William S Fulton
603f17d56f remove more global pollution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 16:23:48 +00:00
Marcelo Matus
fdb55e82ab add macors for PTR2IV INT2PTR when needed, bug #1208765
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:47:39 +00:00
Marcelo Matus
799f7e9254 use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:24:28 +00:00
Marcelo Matus
91462765db more fixes to use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:00:00 +00:00
Marcelo Matus
f5fa773e53 use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 08:14:58 +00:00
Marcelo Matus
7909b2de81 delete extra spaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:42:34 +00:00
Charlie Savage
188a9b9f77 Updated link that points to table of Ruby keywords.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:21:53 +00:00
Marcelo Matus
473215225d fix ruby kw warnings, all can be methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:07:44 +00:00
Marcelo Matus
404abfaa11 fix predicate, excluding template case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 17:34:52 +00:00
Marcelo Matus
1d4edd3b43 fix renaming for begin/end
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 16:43:24 +00:00
Marcelo Matus
fa672bcb12 add minor and missing noblock attributes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 23:56:59 +00:00