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
Charlie Savage
e5443e3bd4
Fixes bug 1386579. When returning a vector of pointers, do not create
...
copies of the objects that are pointed to since they may not have
copy constructors. This also is more inline with returning a vector from a method
in C++ where the pointers are copied but not what they point to.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 19:56:35 +00:00
Charlie Savage
6c8dd53ee8
Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
...
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class. This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
c81c25f671
fix to set method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 10:46:54 +00:00
Mark Gossage
06a3a305b1
Mistake: numargs replaced with numinputs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 09:58:19 +00:00
William S Fulton
3db5c253df
Fix for vector of bool
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:50:49 +00:00
William S Fulton
b276adf199
Use value_type to to more closely match the STL declarations and work around some bugs in some compilers for pointer references (when the type is a pointer)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:23:58 +00:00
William S Fulton
a87acb5aa3
Add pointer reference typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:09:16 +00:00
Surendra Singhi
b2cb043998
Initial revision. Adding CFFI module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:02:26 +00:00
William S Fulton
5cf457be17
English fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:58:42 +00:00
William S Fulton
eaa82f313d
New $imclassname special variable to enable changing the intermediary class name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:25:30 +00:00
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
William S Fulton
c17e4cff56
fix exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:14:02 +00:00
Marcelo Matus
c0da62d128
implement the rank-cast dispatch mechanism, which is now the default behavior in perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +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
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
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
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
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
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
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
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
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
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
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
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
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
32cbb57ab6
keep old typemap code in place, but disable, for readers to look around, and rescue other lost typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:46:37 +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
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
c7ec64951d
more old __THREADS__ fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 23:55:46 +00:00
Marcelo Matus
1ededbc0cf
fix the use of the old __THREAD__ macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 23:39:50 +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