Marcelo Matus
809584928c
add and extend missing/deleted docs for the pythonappend/pythonpreppend features and the new directive forms %pythonappend/%pythonpreppend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
f76880fc20
add the 'str' method to cvar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 16:28:43 +00:00
Marcelo Matus
96cab4a488
fix errors for 32bit arch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
6f263ce7cf
fix missing endif
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 17:58:13 +00:00
Marcelo Matus
c5492251bd
more fixes to MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:00:32 +00:00
Marcelo Matus
d56b75b1ac
silence warnings with -O1 -Wall
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 01:03:37 +00:00
Marcelo Matus
5601aff69c
fix cast from double to long long
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:18:58 +00:00
Marcelo Matus
43eaf119fe
fix missing long
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:44:46 +00:00
Marcelo Matus
137ab96746
use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
William S Fulton
65620fb539
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@8398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:01:54 +00:00
William S Fulton
a658cc52aa
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@8397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 22:36:04 +00:00
Marcelo Matus
9c7d46c48c
add missing '%' in front of #include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 18:49:12 +00:00
Marcelo Matus
0969072b63
fix memory PyObject * typemaps to avoid memory leaks with iterators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:05:12 +00:00
Marcelo Matus
2f69e0bf33
add functional header for std::less
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 16:47:51 +00:00
William S Fulton
bbaf3f1233
Fix so that C++ code is not generated for C wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:22:34 +00:00
Marcelo Matus
7169422ff6
fix missing _PyInstance_Lookup for versions < 2.3
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:44:59 +00:00
Marcelo Matus
ea53f7c645
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@8311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:40:44 +00:00
Marcelo Matus
a7986b9077
add value iterator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:30:53 +00:00
Marcelo Matus
68f9b0408c
update as std::map
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:48:47 +00:00
Marcelo Matus
ab9d75f3c9
fix to avoid copies when the wrapper class exists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:08:21 +00:00
Marcelo Matus
a20ed1dc80
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@8292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:04:45 +00:00
Marcelo Matus
165b0032e9
add buildnone option and cosmetics, including sorting options by name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
0767474ada
add operator aliases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:36:58 +00:00
Marcelo Matus
ed53e75df6
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@8274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:59:32 +00:00
Marcelo Matus
5612807986
fix problem with containers reported by John Koleszar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 21:37:59 +00:00
Marcelo Matus
aafdfe1a5e
fix iterators for old compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:01 +00:00
Marcelo Matus
55d79fea4f
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@8232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:37:31 +00:00
Marcelo Matus
8d812cd955
add stl.i files for each language to prevent improper includes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:12 +00:00
Marcelo Matus
36c3511e1f
fix problem with PyObject_Del and old python versions, reported by John Koleszar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:42:40 +00:00
Marcelo Matus
f34ef6ff23
add %nodirector to internal PySwigIterator class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:22:44 +00:00
Marcelo Matus
79c9e57b2c
delete some inlines which confuse gcc for very large interfaces
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:54:53 +00:00
Marcelo Matus
fb563123a5
uniform cni examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
c2b4305599
add operator < for DEBUG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:38:48 +00:00
Marcelo Matus
66efeaa788
add to %argument_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:37:53 +00:00
Marcelo Matus
bd1c02b658
add %kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:59 +00:00
Marcelo Matus
8c93709658
better kw from Olly's comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:06 +00:00
Marcelo Matus
8db859aa80
add jstring.i for ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
dbc55f256c
add gcj and java->python initial support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
7e8fc00652
securing the call to SWIG_IsOK, which is a macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 01:14:24 +00:00
Marcelo Matus
53cf7fd217
no need for , use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 23:23:42 +00:00
Marcelo Matus
62ecf24b23
fix missing __PTHREAD__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 08:46:45 +00:00
Marcelo Matus
fd0d08fead
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
e4637545e3
add implicitconv support and cosmetics for cast rank
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:06:26 +00:00
Marcelo Matus
9039ead445
add the label for use inside typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:41:03 +00:00
Marcelo Matus
5a76bc68fc
add castmode in python and cleaning the castdispatch mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
29d112f565
add support for __slot__ case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:02 +00:00
Marcelo Matus
00a87c0980
Use safe Py_None in Windows or when using -DSWIG_PYTHON_SAFE_NONE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:09:13 +00:00
Marcelo Matus
c0a1c6c382
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@8013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 00:35:03 +00:00
Marcelo Matus
67dafc531d
move iterator classes to pyiterator and add/test std_carray.i class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:43:26 +00:00
Marcelo Matus
556e699baa
add SWIG_STD_PAIR_ASVAL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:14:23 +00:00