Commit graph

2,779 commits

Author SHA1 Message Date
Matthias Köppe
539cea72a1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 11:51:42 +00:00
Matthias Köppe
e6d686e16f Fix the documentation strings of functions with anonymous arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 11:49:44 +00:00
Marcelo Matus
f3df9521a1 add argument protection for templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-20 00:23:40 +00:00
Marcelo Matus
e83c226741 add 'attribute' macros for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-20 00:08:36 +00:00
Henning Thielemann
483d8b4367 added basic Modula-3 support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 11:45:29 +00:00
Henning Thielemann
ad57fc3545 version 1.3.21 is of 2004, isn't it?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 11:43:51 +00:00
Marcelo Matus
9113a49b63 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 00:57:59 +00:00
Marcelo Matus
ac0d3805f8 missing change from previous commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 00:50:12 +00:00
Marcelo Matus
c8d7e4d971 new tests for string and directors+containers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 21:30:24 +00:00
Marcelo Matus
a672ff61ef extending std_string and more fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 21:20:55 +00:00
Marcelo Matus
109f79377c fix inclusion of complex.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 21:18:16 +00:00
Marcelo Matus
48df694c7b add missing Swig_typedef_resolve_all
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 20:35:15 +00:00
Marcelo Matus
b6119293f3 fix director call for the single container argument case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 20:32:14 +00:00
Henning Thielemann
15ec5149f8 sorry, I missed that Firstkey and Nextkey aren't available any longer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 19:34:14 +00:00
Henning Thielemann
a8340335f8 'const' for parameters of addSymbol
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 19:00:23 +00:00
Henning Thielemann
1a39907bd9 'const' for parameters of addSymbol
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 18:40:26 +00:00
Henning Thielemann
a216a8a637 some words about Firstkey and Nextkey
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 18:35:17 +00:00
Marcelo Matus
38ff20aa42 added ref/unref and friend dec. support comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 02:07:52 +00:00
Marcelo Matus
0015c8417e another fix for long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 18:40:44 +00:00
Henning Thielemann
57da015302 added a line for Modula-3 support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 18:19:42 +00:00
Marcelo Matus
64973655da fix old std_pair version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 10:45:19 +00:00
Marcelo Matus
9e22799f04 more test files for STL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:52:22 +00:00
Marcelo Matus
359d862a49 add vector test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:49:17 +00:00
Marcelo Matus
4267bda1a9 add test for the mangling extension #@ preproc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:44:35 +00:00
Marcelo Matus
81ae8b5e68 fix template complex
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:43:35 +00:00
Marcelo Matus
328098bbb2 better STL support, see CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:41:19 +00:00
Marcelo Matus
9d65aeb47d Added more STL containers typecheck code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:47:18 +00:00
Marcelo Matus
6c150e4328 Fragments can now be "type especialized", as the typemaps. The
syntax is as follows

 %fragment("name","header") { /* an old fragment */ }
 %fragment("name" {Type}, "header") { /* the fragment is type dependent */}

Now fragments can also be used inside templates:

 template <class T>
 struct A {
   %fragment("incode"{A<T>},"header") {
     /* 'incode' especialized fragment */
   }

   %typemap(in,fragment="incode"{A<T>}) {
     /*
       here we use the 'type especialized' fragment
       "incode"{A<T> }
      */
   }
 };


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:36:06 +00:00
Marcelo Matus
238cc1455c Added the #@ mangling extension
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:32:11 +00:00
Marcelo Matus
2e88f79ace Using the unused 'Swig_string_mangle' method to
implement the #@ preprocessor mangling


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:27:02 +00:00
Marcelo Matus
eae815451e Allowing the empty %template directive, such as
%template() std::vector<int>;

to process the class "typedef"s and "typemap"s. Before
only the internal "typedef"s were processed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:18:17 +00:00
Marcelo Matus
22d2c01b50 Fragments can now be "type especialized", as the typemaps. The
syntax is as follows

 %fragment("name","header") { /* an old fragment */ }
 %fragment("name" {Type}, "header") { /* the fragment is type dependent */}

Now fragments can also be used inside templates:

 template <class T>
 struct A {
   %fragment("incode"{A<T>},"header") {
     /* 'incode' especialized fragment */
   }

   %typemap(in,fragment="incode"{A<T>}) {
     /*
       here we use the 'type especialized' fragment
       "incode"{A<T> }
      */
   }
 };

Also, there is a minor templ.c fix when expanding '#T'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:01:06 +00:00
William S Fulton
b77c8c0b66 documentation version number corrected
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:32:25 +00:00
William S Fulton
221935ccf6 Elmer link added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:28:03 +00:00
William S Fulton
82c4109a2d Director fix. Some director callback methods were not being called on all operating systems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:26:47 +00:00
William S Fulton
f658636ffe *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:25:46 +00:00
Matthias Köppe
1c7f945b73 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-02 15:55:41 +00:00
Matthias Köppe
d821925f0c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-02 12:58:30 +00:00
Matthias Köppe
4976eb0725 In -scm mode, don't forget to check the type of string arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-02 12:58:00 +00:00
William S Fulton
3e2c500127 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:07:26 +00:00
William S Fulton
8bef639f31 All tests now use the -namespace commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:06:54 +00:00
William S Fulton
9f9ba96e8e New commandline option -namespace for putting all generated classes into a C# namespace.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:05:48 +00:00
William S Fulton
e1d89a2cdc Generate package statement after the SWIG banner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:03:47 +00:00
Matthias Köppe
e52f5e17dc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 13:56:41 +00:00
Matthias Köppe
61668907c8 Define FUNC_NAME also in the dispatch wrapper for overloaded
functions.  Patch by John Lenz, SF #896255.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 13:56:29 +00:00
Matthias Köppe
bd55a6f4fb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 12:57:50 +00:00
Matthias Köppe
64c48367b9 Use FUNC_NAME rather than a bogus typemap variable for signalling
errors.  Call scheme_wrong_type with a zero-based argument number.
Reported by Ondrej Pacovsky, SF #902621.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 12:56:58 +00:00
Matthias Köppe
389aa458a1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-22 15:28:14 +00:00
Matthias Köppe
18aec6bdc8 Don't try to invoke a null destructor function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-22 15:28:03 +00:00
William S Fulton
197b15b0ec Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00