Marcelo Matus
a275bbd30f
add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +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
b32dd09384
test vectors of primitive types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:51:32 +00:00
William S Fulton
d551b655f2
vector wrapper runtime tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:31:28 +00:00
William S Fulton
3c4a266c54
Add vectors of pointers runtime tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:30:12 +00:00
William S Fulton
a346a8b054
remove SWIG bug workaround
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:28:17 +00:00
William S Fulton
09800ee9c4
Add in vectors of pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:25:54 +00:00
William S Fulton
b35b72933e
pointer reference runtime test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:13:27 +00:00
William S Fulton
4326e443b7
Add pointer reference for runtime testing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:11:39 +00:00
Marcelo Matus
aaedd30000
fix def_arg case broken with last &/* fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 18:21:18 +00:00
Marcelo Matus
76ba896ed5
always disable the castmode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:23:22 +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
485ccd5809
add more dispatch cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 01:44:36 +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
a1e7dad0ba
fix name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 23:47:08 +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
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
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
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
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
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
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
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
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
2a172ffc8a
add support for accessing 'self.thisown'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 01:12:26 +00:00
Marcelo Matus
cef0013285
'oficially' add fastdispatch option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 21:30:06 +00:00
Marcelo Matus
5171115729
add test for 'typedef unsigned long size_t'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:35:11 +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
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
87c0c6d381
shorter sleep
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:06:53 +00:00
Matthias Köppe
5f280cb2d0
Enable test suite for Allegro CL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 17:41:50 +00:00
Marcelo Matus
d5122e2a9c
force examples to use preinst-swig, as is done in the test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:17:20 +00:00
Marcelo Matus
e7bd6be39e
fix bug #1174705
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:15:26 +00:00
Marcelo Matus
bad43e0963
fix kw in perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:13:49 +00:00
Marcelo Matus
cb6a1f4ff2
fix examples to use preinst-swig
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:05:49 +00:00
William S Fulton
f736ec91c2
Get clean target working again
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:36:21 +00:00
William S Fulton
55a48adb5b
c# keyword clash
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:39:05 +00:00
William S Fulton
473da5b297
php keyword fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:38:49 +00:00
William S Fulton
7ff35f487a
Java/C# - test extra constructor to handle enum items initialised by another enum item for %javaconst(1)/%csconst(1)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:37:20 +00:00
Marcelo Matus
0994c45ede
add another case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:34:43 +00:00
Marcelo Matus
2fc9c01d84
add missing delete
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:32:24 +00:00
Marcelo Matus
9dade36143
fix comparison
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:31:55 +00:00
Marcelo Matus
7f28889467
add missing freearg and typecheck typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:31:05 +00:00
Marcelo Matus
f4a45fa252
adding more cases and suppressing the 470 warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:29:54 +00:00