Commit graph

50 commits

Author SHA1 Message Date
Marcelo Matus
2784abd610 fix ifdef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:29:26 +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
6bb9dd502f more perl + cast/rank mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:46:50 +00:00
Marcelo Matus
ae09b70a40 changes to support cast ranking for dispatch and/or overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:06:27 +00:00
Marcelo Matus
b90540af80 we don't need SWIGVERSION in the interface, SWIG_VERSION is already there
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:09:24 +00:00
Marcelo Matus
52272ef49b add SWIGVERSION to both the interface and the code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:35:56 +00:00
Marcelo Matus
b1f8846f0b export SWIG version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:09:53 +00:00
Marcelo Matus
aee99ddce7 fix error in char typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:09:26 +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
99ae0d5f34 add missing typecheck typemap, reported by Charlie Savage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 22:37:29 +00:00
Marcelo Matus
abbf8b406a more on the TypeQuery fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 23:53:53 +00:00
Marcelo Matus
ae761ca3ba fix extra calls to TypeQuery for 'char *' and 'wchar_t *'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 20:20:19 +00:00
Marcelo Matus
efcc7aeacf fixes for the examples and tcl to use the old Tcl_SetResult()... methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 22:39:43 +00:00
Marcelo Matus
20134c2182 fix gcc warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:41:34 +00:00
Marcelo Matus
a1d10b8e39 add more std::exception typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:54:26 +00:00
Marcelo Matus
255296362f can't use as_voidptrptr with fcnptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:31:34 +00:00
Marcelo Matus
cde464feae safer and cleaner as_voidptr/as_voidptrptr macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:31:05 +00:00
Marcelo Matus
f3acf52370 last performance improvements, and typemaps fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 09:20:24 +00:00
Marcelo Matus
cb4a1ff465 more speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:46 +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
0bcdda061b add initial traits
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:58:28 +00:00
Marcelo Matus
23c9555292 simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:57:16 +00:00
Marcelo Matus
ccf9e8d3b5 fix size_t and ptrdiff_t for gcc4.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 08:54:34 +00:00
Marcelo Matus
5671dc8ab6 use new checkcodes,which should take precedence over plain C strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:50:44 +00:00
Marcelo Matus
9db98e0459 add ptrdiff_t and size_t properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:50:01 +00:00
Marcelo Matus
07ff83fdc3 fix SWIG_Object const & typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:23:18 +00:00
Marcelo Matus
ea0c2ca342 adding more missing typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 11:11:21 +00:00
Marcelo Matus
85db6ee607 more docs for fragments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:58 +00:00
Marcelo Matus
c529327196 add missing typecheck typemap for function ptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:00:51 +00:00
Marcelo Matus
564be509ea docs and cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:46:18 +00:00
Marcelo Matus
9c5b888299 add missing directors typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:51 +00:00
Marcelo Matus
68c269bdcd use shorter SWIG_exception for errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:21 +00:00
Marcelo Matus
71df9fc8b6 add std_except typemaps to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00
Marcelo Matus
a8fe5247e2 added methods for size_t and more freearg typemaps around, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 11:30:14 +00:00
Marcelo Matus
05c529eedc be sure we use #if defined(...) instead of the fragil #ifdef everywhere, fix missing director typemaps and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 10:35:38 +00:00
Marcelo Matus
3c5c038e86 fix ifdefs for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:09:58 +00:00
Marcelo Matus
f9a28cdec7 documenting attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:48:56 +00:00
Marcelo Matus
1b811fc2b9 add missing %newpointer_flags option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:49 +00:00
Marcelo Matus
db4f2f71a1 add attribute.i for other languages that don't use the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:14:49 +00:00
Marcelo Matus
97874a090a use macros by default and cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:51:16 +00:00
Marcelo Matus
8be1b7a07c move attribute.i to the typemap library, now is usable from all the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
e7eeff806a eliminate compilation warnings, add docs, and centralize the access to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:31:15 +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
36f34d7a48 add missing macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 10:12:40 +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
7564088646 fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
aadff06f45 more typemaps unification and fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:52:50 +00:00
Marcelo Matus
bdb92681d5 fixes to compile OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 15:20:17 +00:00
Marcelo Matus
e707c456ef fix for template types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 14:16:22 +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