William S Fulton
e49c07014d
Correct usage of Py_ssize_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 22:33:20 +00:00
William S Fulton
0da1552b26
Mods to match the C++ standard
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 22:31:12 +00:00
William S Fulton
9e8ac47f1c
vc++ warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 22:30:09 +00:00
Joseph Wang
54f0b11ddf
Add "freearg" template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 11:30:11 +00:00
Joseph Wang
7037fecf7e
Some more fixes to deal with constness of char
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 05:00:17 +00:00
Joseph Wang
410da5ce73
Tweaks to fix errors in r module code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 04:06:22 +00:00
William S Fulton
eb9be78926
add execute permissions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-24 21:26:26 +00:00
William S Fulton
8cacb46834
execute permissions added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-24 21:25:39 +00:00
William S Fulton
6456ed936d
VC++ warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 22:09:24 +00:00
William S Fulton
e1d7790968
VC++ warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:59:33 +00:00
William S Fulton
6d796af70d
VC++ warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:58:16 +00:00
William S Fulton
1ecf5885a2
VC++ error/warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:57:19 +00:00
William S Fulton
62b2401d09
member function typemap fix for VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:56:24 +00:00
William S Fulton
4ade44ec64
vc++ fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:53:30 +00:00
Matthias Köppe
c102472282
Another fix for test case apply_strings, for guile -gh, by adding explicit casts to the appropriate .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 00:11:16 +00:00
Matthias Köppe
cab796d49e
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 22:02:32 +00:00
Matthias Köppe
a27c7372a6
Filter out -ansi -pedantic from CFLAGS while compiling test programs for Guile.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 22:00:29 +00:00
Matthias Köppe
226f9e2698
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:52:10 +00:00
Matthias Köppe
e6a07ee55b
Fix testcases apply_signed_char and apply_strings by adding explicit casts to the appropriate .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:49:36 +00:00
William S Fulton
f38b4df07d
fix compilation warnings for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:33:01 +00:00
William S Fulton
fa72166164
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:31:09 +00:00
William S Fulton
30964be253
Fix uninitialised variable usage on error in director methods. Minor formatting change for director methods variable declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:30:19 +00:00
William S Fulton
9c43ddd675
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:20 +00:00
William S Fulton
a43e50ac07
fix generated code for derived classes when csbase or javabase typemaps are used with the replace=1 attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:05 +00:00
William S Fulton
a1052bab4f
html fixes and toc update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:47:08 +00:00
William S Fulton
5f1ac9567b
Docs updated to suggest using distutils. Patch #1796681 from Christopher Barker.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:37:56 +00:00
Olly Betts
87e64a237b
[perl5] Clear errno before calls to strtol(), strtoul(), strtoll()
...
and strtoull() which we check errno after to avoid seeing a junk
value of errno if there isn't an error in the call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 03:35:49 +00:00
John Lenz
b884b76fda
Add doc improvements from the wiki http://www.dabeaz.com/cgi-bin/wiki.pl?SwigWikiDocs/Module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 01:59:28 +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
Olly Betts
29d932886e
Fix wrapping of constants, broken by warning suppression change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 15:52:06 +00:00
William S Fulton
955a50ce7a
Update notes on cvs $Header$ to use $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 22:10:32 +00:00
William S Fulton
ede8b8c87a
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:56:11 +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
92bceacc38
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:47:25 +00:00
William S Fulton
9c65c6b044
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:43:55 +00:00
William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
William S Fulton
21533f53e3
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:37:03 +00:00
William S Fulton
0041ebc4bd
Replace cvs $ with svn $
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:33:57 +00:00
William S Fulton
2a89d09add
attribute tidy up. %attributeref replaces %attribute_ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:27:21 +00:00
William S Fulton
4513953e96
Replace cvs header with svn id
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:26:25 +00:00
Olly Betts
551fac1f06
Note that the PHP + GCC 4.2 warning fix only works for PHP >= 5.2.1.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 17:36:39 +00:00
Olly Betts
a1ae35b43f
Revert this fix unless ZEND_RAW_FENTRY is defined (it was added in
...
PHP 5.2.<something>):
[PHP] Fix many occurrences of "warning: deprecated conversion from
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.
Use zend_function_entry rather than function_entry in generated code.
The later only exists for compatibility with PHP3!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 17:25:15 +00:00
Olly Betts
c166ffc10d
Release our mutex rather than free-ing it, since we want it around to reuse.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 23:01:23 +00:00
Olly Betts
10c6e1064d
[Tcl] Fix several ocurrences of "warning: deprecated conversion
...
from string constant to 'char*'" from GCC 4.2 in generated C/C++
code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 22:12:44 +00:00
Olly Betts
1b1334815c
[PHP] Fix many occurrences of "warning: deprecated conversion from
...
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:39:37 +00:00
Olly Betts
0f5c628cfb
Fix mixed declarations and code so this file is valid C89.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:27:14 +00:00
William S Fulton
acb5bde28c
Patch #1797133 from David Piepgrass fixes %attribute when the getter has the same name as the attribute name and no longer generate non-functional setter for read-only attributes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 21:57:51 +00:00
Olly Betts
6fdeeafb88
[Tcl] Prevent SWIG_Tcl_ConvertPtr from calling the unknown proc.
...
Add Examples/tcl/std_vector/ which this change fixes. Patch
is from "Cliff C" in SF#1809819.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 02:02:47 +00:00
Olly Betts
b1b889059d
Another place which can use std::string::assign() which I failed to check in
...
with the others. Also use std::string::data() instead of std::string::c_str()
where we don't need the trailing '\0'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 01:40:52 +00:00