Commit graph

159 commits

Author SHA1 Message Date
Marcelo Matus
f9db4dd648 fix anoher warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 22:08:48 +00:00
Marcelo Matus
349e6bc6ee using <> when including lib files, fix char{ANY], add char FIXSIZE[ANY], fix pyfragments.swg, fixing *.swg and *.i names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 06:17:35 +00:00
Marcelo Matus
9f6ffb2feb cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:35:23 +00:00
Marcelo Matus
fc6ac9a6ea change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:33:18 +00:00
Marcelo Matus
f962f10e05 change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:31:39 +00:00
Marcelo Matus
c16ee0373b move tuple helper to its own file, and allow the user to redefine fragments through the fragments.i file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:26:23 +00:00
Marcelo Matus
0017b084aa add std_except.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:23:05 +00:00
Marcelo Matus
ebd1419512 fix warning and possible error for 64bits
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:42:37 +00:00
Marcelo Matus
bc715fc9a0 fix warnings for intel compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:07:45 +00:00
Marcelo Matus
fa723151fb more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:12:02 +00:00
Marcelo Matus
96a3b57b97 more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:09:44 +00:00
Marcelo Matus
9b7c4b973e fix for solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 00:02:06 +00:00
Marcelo Matus
7a5fdd5784 fix Solaris/assign problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-31 20:33:39 +00:00
Marcelo Matus
1c899f9c96 fix solaris warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-31 20:15:54 +00:00
William S Fulton
7f1a06e20d Removed redundant #include of Python.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:17:18 +00:00
Lyle Johnson
9a6eb5a6b8 Fixed a little typo in the comments (was "Outnput", changed to "Output").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:31:10 +00:00
Marcelo Matus
ed69164312 More fixes for arrays and variables, mostly cosmetic ones.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-18 22:57:05 +00:00
Marcelo Matus
7c2c1a766c fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
Marcelo Matus
b2ede29b59 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
dfc928fde7 more fixes for exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:34:09 +00:00
Marcelo Matus
6caba9c765 more fixes for exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:19:01 +00:00
Marcelo Matus
f5fb952e36 change char[] and char[ANY] to behave more like char* as default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 20:40:32 +00:00
Marcelo Matus
9c6a029e75 fix anon enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
12af360d6f fixes for char[], const char[], and cleaning wchar_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:25:31 +00:00
Luigi Ballabio
d062b8cce8 Python typemap for FILE* (in behalf of Marcelo)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00
Matthias Köppe
2eacba6ef9 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +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
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
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
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
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