Commit graph

1,373 commits

Author SHA1 Message Date
Art Yerkes
ade9d25284 Director: added disown. It now mutates the reference held by the object.
mlheading and mliheading: Added C_director_core, which holds the state needed
by the director to disown.
std_string and std_vector: Added specific support for the common case of
a zero-terminated char **.
typemaps.i: Withdraw default argout for SWIGTYPE &


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 20:14:31 +00:00
Art Yerkes
8dd475f93e typemaps.i: $descriptor usage correction.
ocaml.cxx: director classes (needs more testing, but my Qt example works).
director.swg: Core director class for Ocaml.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 17:11:19 +00:00
Mark Rose
f10ce6cc84 Added SetNoneComparison call to PYTHON::top
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 10:01:30 +00:00
Logan Johnson
d39635101e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 05:13:19 +00:00
Logan Johnson
56e34f6d39 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 04:51:15 +00:00
Logan Johnson
8cd6b71d0c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 04:22:00 +00:00
Logan Johnson
ea6bfb1867 Add Ruby support for item indexing in Lib/carrays.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 04:21:41 +00:00
Logan Johnson
1b71d0bbd1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 03:49:36 +00:00
Art Yerkes
87bf632747 Removed a Py_None from cwrap.c.
Added SetNoneComparison in lang.cxx, which allows the language module to
specify how to determine whether the empty argument was given for the
'self' pointer.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 03:25:09 +00:00
Logan Johnson
e68a21f46f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 23:33:12 +00:00
William S Fulton
bfb0856591 Removed csharp runtime library - there ain't one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 22:41:24 +00:00
Logan Johnson
c441d07415 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 22:41:20 +00:00
Logan Johnson
dc04d91bb5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:37:04 +00:00
Logan Johnson
160801734b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:31:50 +00:00
Logan Johnson
40fa3e289d Changed the class name from Object to SomeClass in the
constructor_exception.i test case.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:30:06 +00:00
Logan Johnson
f8bbede220 Changed the class name "Object" to "AbstractBaseClass" in the
abstract_typedef.i example, since there is a built-in class
named Object for Ruby.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:28:44 +00:00
Logan Johnson
c6be032563 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:12:40 +00:00
Logan Johnson
e263de70b5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:50:17 +00:00
Dave Beazley
3bb10c5791 Long long typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:46:15 +00:00
Logan Johnson
b23b25d118 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:37:46 +00:00
Dave Beazley
b080f6c64e Added long long typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:26:32 +00:00
Logan Johnson
adf656870a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:21:58 +00:00
Logan Johnson
fe0fe922d4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:15:12 +00:00
Logan Johnson
2e22ce40b0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:57:31 +00:00
Logan Johnson
15ca71358a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:33:46 +00:00
Dave Beazley
32c888e20a Fixed compilation problem with dynamic_cast test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:31:41 +00:00
Dave Beazley
17c7e3a869 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:11:49 +00:00
Dave Beazley
5df89f4896 Variety of preprocessor fixes reported by Sebastien Recio.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:11:45 +00:00
Dave Beazley
ffca4fff24 More tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:11:13 +00:00
Logan Johnson
6de616c387 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 15:37:58 +00:00
Logan Johnson
5d17b6936c Added missing 'long long' and 'unsigned long long' typemaps for Ruby's
typemaps.i file.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 15:24:38 +00:00
Mark Rose
2cfdfde3ab minor tweak of SWIG_DIRECTORS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:36:33 +00:00
Mark Rose
08e16bed8e four new director tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:30:11 +00:00
Mark Rose
3f5815cf03 added SWIG_DIRECTORS define under python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:28:00 +00:00
Mark Rose
8db3f9e8df two director examples for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:26:56 +00:00
Mark Rose
c8b971fd33 polymorphism (director) documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 07:15:39 +00:00
Mark Rose
01c38825d4 changed -fdirectors option to %module option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +00:00
William S Fulton
61ceb35ed9 The long long typemaps have been rewritten so that they can be more
easily used with non ISO compilers, like Visual C++. For example
            if you are wrapping the Windows 64 bit type __int64 the long long
            typemaps can be used with %apply:

                %apply long long { __int64 };
                __int64 value1(__int64 x);

            __int64 will now appear in the generated code instead of long long.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:48:01 +00:00
William S Fulton
af3ec605e9 long long typemap mods for use with %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
William S Fulton
0baec2d437 long long typemap mods for use with %apply
Untested... I don't have pike


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:25:02 +00:00
William S Fulton
7c29b13b93 long long typemap mods for use with %apply
Untested... I don't have ocaml


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:22:35 +00:00
William S Fulton
ffc19a9300 long long typemap mods for use with %apply
Untested... I don't have chicken


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:20:50 +00:00
William S Fulton
bbe40b2a3c New test. It exposes some missing long long typemaps in some languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:15:14 +00:00
William S Fulton
fb6071f792 -mno-cygwin for Java on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:13:09 +00:00
Dave Beazley
e3b962618f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:55 +00:00
Dave Beazley
e19c73746d Enhancement to Swig_require(), Swig_save(), Swig_restore()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +00:00
Mark Rose
c47494cb7a polymorphism patch merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
William S Fulton
c146f71da1 csharp test-suite infrastructure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 23:00:21 +00:00
William S Fulton
719959886d csharp examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:49:38 +00:00
William S Fulton
25b125e1e0 csharp added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:40:15 +00:00