Marcelo Matus
507a8184cc
use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
William S Fulton
b332cb768d
Choose SWIG exception specification override (%catches) instead of real exception specifications for code that goes into the wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:01:54 +00:00
William S Fulton
f11ecbe8fd
remove unnecessary exception specifications, thereby preventing Visual Studio from having epileptic warnings fits filling the screen with heaps of compete and utter rubbish because it doesn't handle exception specifications properly.
...
Marcelo, please check that this doesn't remove any generated catch handlers. I dont' feel up to chasing a million and one macros to be sure.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 22:36:04 +00:00
Marcelo Matus
019237de55
add missing '%' in front of #include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 18:49:12 +00:00
Marcelo Matus
5daf66c0db
fix memory PyObject * typemaps to avoid memory leaks with iterators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:05:12 +00:00
Marcelo Matus
b2fa89b9f9
add functional header for std::less
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 16:47:51 +00:00
William S Fulton
ee8bc64a74
Fix so that C++ code is not generated for C wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:22:34 +00:00
Marcelo Matus
7f8718c3c8
fix missing _PyInstance_Lookup for versions < 2.3
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:44:59 +00:00
Marcelo Matus
2bde7c2c3b
map iterators now use the native PySwigIterator, which is very very good for large maps, since no more temporals key/value tuples are needed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:40:44 +00:00
Marcelo Matus
68521b1c74
add value iterator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:30:53 +00:00
Marcelo Matus
679d147937
update as std::map
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:48:47 +00:00
Marcelo Matus
972974c0e3
fix to avoid copies when the wrapper class exists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:08:21 +00:00
Marcelo Matus
e8d67c80f3
fix to avoid copies when the wrapper class exists, and to accept std::map pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:04:45 +00:00
Marcelo Matus
cf431d3b47
add buildnone option and cosmetics, including sorting options by name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
c4337c7356
add operator aliases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:36:58 +00:00
Marcelo Matus
6e95b6433b
add macros/names to avoid numeric warning codes. use them in tcl,perl,ruby and python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:59:32 +00:00
Marcelo Matus
957a405574
fix problem with containers reported by John Koleszar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 21:37:59 +00:00
Marcelo Matus
b3a4f3382e
fix iterators for old compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:01 +00:00
Marcelo Matus
69c14f087e
add initial stl.i to ensure proper file inclussion and extensions for each language
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:37:31 +00:00
Marcelo Matus
e222e63bc2
add stl.i files for each language to prevent improper includes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:12 +00:00
Marcelo Matus
3f3c381358
fix problem with PyObject_Del and old python versions, reported by John Koleszar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:42:40 +00:00
Marcelo Matus
c8d5ba81eb
add %nodirector to internal PySwigIterator class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:22:44 +00:00
Marcelo Matus
d3eec7a22f
delete some inlines which confuse gcc for very large interfaces
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:54:53 +00:00
Marcelo Matus
d5cb3bbcb9
uniform cni examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
3a45aa84d6
add operator < for DEBUG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:38:48 +00:00
Marcelo Matus
4048f282c9
add to %argument_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:37:53 +00:00
Marcelo Matus
dd6954ba6d
add %kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:59 +00:00
Marcelo Matus
f3262ed3d9
better kw from Olly's comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:06 +00:00
Marcelo Matus
dc915a44a1
add jstring.i for ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
e4b8871ae2
add gcj and java->python initial support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
7223672e09
securing the call to SWIG_IsOK, which is a macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 01:14:24 +00:00
Marcelo Matus
ebe7889ea9
no need for , use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 23:23:42 +00:00
Marcelo Matus
e85a31e26d
fix missing __PTHREAD__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 08:46:45 +00:00
Marcelo Matus
88e6edcac3
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
0e4b388ec9
add implicitconv support and cosmetics for cast rank
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:06:26 +00:00
Marcelo Matus
1657c18b67
add the label for use inside typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:41:03 +00:00
Marcelo Matus
6bf5187168
add castmode in python and cleaning the castdispatch mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
7ceec6f458
add support for __slot__ case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:02 +00:00
Marcelo Matus
c09006dbdd
Use safe Py_None in Windows or when using -DSWIG_PYTHON_SAFE_NONE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:09:13 +00:00
Marcelo Matus
c805e48d35
add the -modernargs/-nomodernargs options and code to deal with old python 1.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 00:35:03 +00:00
Marcelo Matus
984ecc3d4f
move iterator classes to pyiterator and add/test std_carray.i class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:43:26 +00:00
Marcelo Matus
007b7688ce
add SWIG_STD_PAIR_ASVAL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:14:23 +00:00
Marcelo Matus
52dd82bb66
replace Py_None with safer SWIG_Py_None()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:10:54 +00:00
Marcelo Matus
c2b306d72a
avoid name clashing obj->swig_obj and add PYTHON to python macros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:07:44 +00:00
Marcelo Matus
56a0905b18
add faster pair typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 18:38:19 +00:00
Marcelo Matus
18da886c6a
fix memory leaks for module init/end and kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 01:24:39 +00:00
Marcelo Matus
174c1f84a5
fix various missing INCREF/DECREF and other to run clean with fpectl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-15 23:29:10 +00:00
Marcelo Matus
0400788e92
fix missing tmp object, detected by Udo Tremel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-15 18:03:27 +00:00
Marcelo Matus
45d7395f09
add check for weakref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 22:58:15 +00:00
Marcelo Matus
b9f8d2fbc7
SWIG_Python_GetSwigThis now uses PyWeakref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 09:34:59 +00:00