Commit graph

118 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Marcelo Matus
95214810ab add the -fastunpack/-nofastunpack options to avoid using python native UnpackTuple
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:28:30 +00:00
Marcelo Matus
a849510dfa add fast parse infrastructure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:45:27 +00:00
Marcelo Matus
f7efce9b3e fix inline warning, and cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 07:32:23 +00:00
Marcelo Matus
f9a3ea5c0d oops, use XDECREF instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 00:22:08 +00:00
Marcelo Matus
ef728b932e add missing Py_DECREF for _delete_ result (Py_None), plus minor cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 00:13:39 +00:00
Marcelo Matus
268cc4fb97 add -proxydel/-noproxydel plus minor improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-11 10:44:57 +00:00
Marcelo Matus
f956577226 add back SWIG_Python_ConvertPtr macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:23:06 +00:00
Marcelo Matus
ca7f770ac1 fix type definition for old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 20:24:20 +00:00
Marcelo Matus
6e77a6ba25 fixes for swigrun example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:50:38 +00:00
Marcelo Matus
8b7fb37a59 more threads cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 22:25:05 +00:00
Marcelo Matus
41b66ae54a fix runtimes for subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:40:42 +00:00
Marcelo Matus
2eeef5275d simplify the thread implementation, use feature 'nothread' to disable threads instead of 'thread' to enable them, plus other fixes around threads
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 19:35:03 +00:00
Marcelo Matus
1c7071040a more threads code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 07:20:13 +00:00
Marcelo Matus
0fd2fe23cf add thread support based in proposal #398495 by Joseph Winston
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 06:39:24 +00:00
Marcelo Matus
922d58ac19 don't use Py_None directly nor &PyType_Type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 08:50:00 +00:00
Marcelo Matus
a5d45ae01f try to fix borland error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:07:57 +00:00
Marcelo Matus
7c1b632af4 fix borland warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 19:35:53 +00:00
Marcelo Matus
6013be8ced fix PyObjectType for older python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:40:33 +00:00
Marcelo Matus
9a7397ce42 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:35:41 +00:00
William S Fulton
cfdad24993 Use the system angle brackets for %include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
Marcelo Matus
f3c24eff33 fixes for directors + pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
Marcelo Matus
73a821d0b6 add code to properly 'unload' the module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:57:39 +00:00
Marcelo Matus
3c4fbce9de add support for multi-inheritance at the python side and performance tunings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:40:16 +00:00
Marcelo Matus
45439174b4 remove unused label
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:59:56 +00:00
Marcelo Matus
5ab4595d76 add fast get/set for the this attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:02:34 +00:00
Marcelo Matus
c28010f762 safer direct creation of a new instance avoiding the __init__ method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:52:01 +00:00
Marcelo Matus
985adc13fb remove 'thisown' and ClassPtr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
3c65cea431 Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
ba3efb0917 finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
Marcelo Matus
e380e27391 fix #endif position bug #1249878
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 10:55:05 +00:00
Marcelo Matus
a83919ab69 remove the _AS_XX macros, just in case the Check methods are too permissive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-21 18:52:04 +00:00
Marcelo Matus
327bbc06ac more fixes for python 1.5 +gcc2.96
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:12:21 +00:00
Marcelo Matus
50557fb547 more fixes for 1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 01:41:22 +00:00