Commit graph

474 commits

Author SHA1 Message Date
Ahmon Dancy
53db012b12 See CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-03 17:10:20 +00:00
John Lenz
c0a2aea4cc Fix bug 782468
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
Ahmon Dancy
cccaf2fa16 Added typemaps.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-30 23:06:15 +00:00
Ahmon Dancy
7f682c8d4a Added Allegro CL module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 23:00:41 +00:00
Matthias Köppe
9b4f0793de The typemap for FILE * in ports.i now also accepts a regular FILE *
pointer object.  Also a bug with Scheme file ports that are open for
input and output has been fixed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:09:02 +00:00
Matthias Köppe
4280b31589 In -gh mode, fix the "too many initializers" error
which was caused by an incompatible swig_type_info layout.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:08:27 +00:00
Matthias Köppe
0f3b839af9 Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:07:02 +00:00
William S Fulton
da284c4e93 unnamed enum member variables - less verbose code generation that has a single solution for all compilers. Will only fail silently (no printfs like before) when using compiler switches that force enums to be different size to integers. If anyone ever does this, I will eat my hat
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00
Luigi Ballabio
42368516f9 Fix for std::vector Tcl typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Henning Thielemann
fc5012d5e8 support for type FILE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-10 15:34:33 +00:00
Marcelo Matus
3a34091f80 use tuple in iterator, since is more 'constant' than a list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:00:47 +00:00
Marcelo Matus
c6f9abd8f4 use inplace +=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:59:38 +00:00
Marcelo Matus
fd1c9fb316 fix inplace python opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00
William S Fulton
bd7371faa9 Typemap changes for C# enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:43:26 +00:00
Henning Thielemann
60a25b1307 support for (void *)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-08 16:03:50 +00:00
Marcelo Matus
a0e5e53f64 accept None in std::vector<A*>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 01:20:41 +00:00
Marcelo Matus
bf5c37390a fix std::vector<A*>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 00:55:15 +00:00
Marcelo Matus
b83d738529 fix for CC Sgi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 07:58:08 +00:00
Marcelo Matus
f473b1f152 added wchar_t type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:31:24 +00:00
Marcelo Matus
3983cc1471 fix tp_del field
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:28:07 +00:00
Marcelo Matus
86a9374ea1 fix more comp. warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 00:10:14 +00:00
Marcelo Matus
52a01518f1 fix vector<bool> problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 23:24:39 +00:00
Marcelo Matus
e0e8157d0b suppress compiler warns and more cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:20:36 +00:00
Marcelo Matus
459e527647 add wstring/wchar_t support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:12:02 +00:00
Marcelo Matus
49a09a63fb more fixes for pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:36:08 +00:00
Marcelo Matus
ab44291de8 we better disable the comparison method generation by default.
reasons:

- before they were not generated, so, nobody will miss them,
  and still they can be activated back using SWIG_STD_EXTEND_COMPARISON,

- the performance penalty is quite visible, and the solution is not
  general, ie, for user types, still they need to be generated by hand.


Marcelo


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-02 02:34:19 +00:00
Marcelo Matus
b85f90a6ed fix pair for ptrs, and add SWIG_STD_NOEXTEND_COMPARISON to reduce swig times
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 18:51:30 +00:00
Marcelo Matus
efed557610 added more especial methods for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 05:12:23 +00:00
Marcelo Matus
0c8f4b34bf added support for const, like std::pair<const int, int>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 04:07:27 +00:00
Marcelo Matus
50f01cbe95 more safer memcpy use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 11:57:02 +00:00
Marcelo Matus
94b77e5db5 replace explicit static_cast<T>(v) with old style (T)v, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 11:45:45 +00:00
Marcelo Matus
29a30e2dcc - better support for classes with no default constructor, equal or
comparison methods.

  you will be able to do

    struct Foo {
     Foo(int) {}
    };

    %std_nodefconst_type(Foo); // Says Foo has no def. constructor

    %template(vector_Foo) std::vector<Foo>;

  and the conflicting vector/list/deque methods will not be generated.


more cosmetic, and a note about the relation between std::map and
std::pair.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 11:27:53 +00:00
Marcelo Matus
efdc4c83dd moving the 'unnamed' macros outside swig.swg, for better mantainance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 04:18:11 +00:00
Marcelo Matus
8566a10373 added compiler case without unnamed template param. support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 03:36:59 +00:00
Marcelo Matus
d395a6eaf0 forgot inline
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 02:29:27 +00:00
Marcelo Matus
a8ab65b69e added support for unnamed C++ enum members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 02:09:55 +00:00
Marcelo Matus
e00522f427 added support for unnamed C++ enum members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 01:35:44 +00:00
Marcelo Matus
7d119baa1f fix for old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:05:29 +00:00
Marcelo Matus
42b8dcaae1 fix for old STL std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:04:48 +00:00
Marcelo Matus
55533e4dfd fix for old STL std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:01:46 +00:00
Marcelo Matus
1206afb516 fix bad FLT_MIN use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 01:53:52 +00:00
Marcelo Matus
252ce1d0c9 fix range problem for complex<float>, found by szabi@mplayerhq.hu
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 21:37:09 +00:00
Marcelo Matus
f896efa6dd fixes for strings and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-28 13:34:16 +00:00
Marcelo Matus
e6711328a6 more comments and cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:07:45 +00:00
Marcelo Matus
6791c60907 fix compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:07:07 +00:00
Marcelo Matus
73ba9f4506 allowing template arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:06:41 +00:00
Marcelo Matus
b6a08780a7 added backward comp for old As/Check/From methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-22 00:17:54 +00:00
Marcelo Matus
7afe6bc139 normalizing the inout typemaps and other cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 23:26:18 +00:00
Marcelo Matus
c827bad43b add argument protection for templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-20 00:23:40 +00:00
Marcelo Matus
95fa3be654 add 'attribute' macros for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-20 00:08:36 +00:00