Commit graph

4,858 commits

Author SHA1 Message Date
Marcelo Matus
e75bc08f7e fix unsigned cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:18 +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
59d0c24108 more cleanups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:43:11 +00:00
Marcelo Matus
d812f5fe5e disable copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +00:00
Jason Stewart
12a429f555 fixed unsigned long typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:14:59 +00:00
Jason Stewart
be3a9e15d7 removed ENTER - it conflicts with code that needs XS access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:13:00 +00:00
Jason Stewart
c9da8bf63e cleanup up comment spelling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:11:40 +00:00
Marcelo Matus
799e9b4386 minor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:38:23 +00:00
Marcelo Matus
8ffd60bec7 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:32:49 +00:00
Marcelo Matus
723281a823 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
William S Fulton
a441f65eab Fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:55:50 +00:00
William S Fulton
751086e8e0 new $imclassname special variable to fix bugs changing the intermediary classname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:54:47 +00:00
William S Fulton
6943996687 new $imclassname to fix bugs changing the intermediary classname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:51:25 +00:00
William S Fulton
b1fb5edf05 test changing the intermediary classname from default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:50:08 +00:00
William S Fulton
1e9ff45c66 add intermediary_classname.i for testing changing the intermediary classname from default (Java/C#)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:48:32 +00:00
William S Fulton
580badb099 add info about new $imclassname and %module(imclassname="..")
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:45:27 +00:00
Marcelo Matus
c2073866b3 add docs for new -nodefault, -nodefaultdtor and -oldnodefault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:20:52 +00:00
Marcelo Matus
e5482f9e08 add -nodefault entry
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 18:27:47 +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
f787718a53 remove extra breaks as in #1381950
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:08:23 +00:00
Marcelo Matus
5c0aa1a1e5 allow the parser.y to be compiled with c++ (throw->throwf)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:07:36 +00:00
Marcelo Matus
37c3c25427 fix for the switch/case:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:06:54 +00:00
Marcelo Matus
c319bcfb3f add Swig_overload_dispatch_cast for dispacth with casting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:06:15 +00:00
Marcelo Matus
97bcb96a9a fix unused for 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:44:56 +00:00
Marcelo Matus
a8c3748153 fix unused for 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:18:44 +00:00
Marcelo Matus
8748a2b6c6 fix bad replace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 01:32:01 +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
81b74e044e remove prints, add more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:53:07 +00:00
Marcelo Matus
94a82526ec fix %extend(%typemaps + %fragments) before class declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:46:41 +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
c873fc6207 fix last fix, error visible with 1.875b, reported by Susendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 19:54:38 +00:00
Marcelo Matus
1694f7fd5c fix reference/pointers op. in pointer assgiments, reported by Surendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 06:49:54 +00:00
Marcelo Matus
4fa643a9d2 add missing virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:30:31 +00:00
Marcelo Matus
862bb7ef49 use better names aliasobj0/noaliasobj0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:30:09 +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
fdb6cefd91 add option keepobj0/nokeepobj0 for old users typemaps + -O option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:08:49 +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
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
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
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
William S Fulton
c1dad55c5c Add in note about supporting different languages with the same typemap name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 22:26:35 +00:00
William S Fulton
18e669551e add missing language preprocessor macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 22:22:22 +00:00
William S Fulton
7ffb333c6e Remove old style typemap declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 21:43:22 +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
6910efd151 fix old template + many many typedefs error detected in Udo tremel's template_typedef_rec.i example, and deactive TEMPLATE_QUALIFY cache for problems with OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 17:18:00 +00:00
Marcelo Matus
db94491272 add valgrind supp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 08:02:28 +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
ff633b0680 fix memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 01:21:59 +00:00