Lyle Johnson
351c6af986
Fixed a little typo in the comments (was "Outnput", changed to "Output").
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:31:10 +00:00
Marcelo Matus
26808b6d1c
More fixes for arrays and variables, mostly cosmetic ones.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-18 22:57:05 +00:00
Marcelo Matus
58fc17cb81
fix char[] varout
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
Marcelo Matus
a02d064ad6
some performance improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
f0f8a4bfea
more fixes for exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:34:09 +00:00
Marcelo Matus
3f8ed3e650
more fixes for exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:19:01 +00:00
Marcelo Matus
74f0585c00
change char[] and char[ANY] to behave more like char* as default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 20:40:32 +00:00
Marcelo Matus
adf66c8c62
fix anon enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
d0c59e6529
fixes for char[], const char[], and cleaning wchar_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:25:31 +00:00
Luigi Ballabio
95a6fa8edb
Python typemap for FILE* (in behalf of Marcelo)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00
Matthias Köppe
783d69e252
New common runtime function SWIG_TypePrettyName.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Marcelo Matus
68608f907e
use tuple in iterator, since is more 'constant' than a list
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:00:47 +00:00
Marcelo Matus
d295432509
use inplace +=
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:59:38 +00:00
Marcelo Matus
a9b4a82eae
fix inplace python opers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00
Marcelo Matus
7ac0a7f883
accept None in std::vector<A*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 01:20:41 +00:00
Marcelo Matus
427c969c60
fix std::vector<A*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 00:55:15 +00:00
Marcelo Matus
99a5a6ae1f
fix for CC Sgi
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 07:58:08 +00:00
Marcelo Matus
8a2343f31d
added wchar_t type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:31:24 +00:00
Marcelo Matus
de65a09e6c
fix tp_del field
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:28:07 +00:00
Marcelo Matus
abdf9b7980
fix more comp. warns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 00:10:14 +00:00
Marcelo Matus
5ddf147312
fix vector<bool> problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 23:24:39 +00:00
Marcelo Matus
f3641c8520
suppress compiler warns and more cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:20:36 +00:00
Marcelo Matus
c2e704374f
add wstring/wchar_t support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:12:02 +00:00
Marcelo Matus
6e14117b0b
more fixes for pointer
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:36:08 +00:00
Marcelo Matus
377221f947
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@5822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-02 02:34:19 +00:00
Marcelo Matus
7cbe501f13
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@5820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 18:51:30 +00:00
Marcelo Matus
e6d14ad72c
added more especial methods for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 05:12:23 +00:00
Marcelo Matus
5822020fc7
added support for const, like std::pair<const int, int>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 04:07:27 +00:00
Marcelo Matus
705b2d863c
- 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@5810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 11:27:53 +00:00
Marcelo Matus
a941c34524
added support for unnamed C++ enum members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 02:09:55 +00:00
Marcelo Matus
8f5e757867
fix for old python versions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:05:29 +00:00
Marcelo Matus
4a92e27318
fix for old STL std::string
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:04:48 +00:00
Marcelo Matus
7cd6aef376
fix for old STL std::string
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:01:46 +00:00
Marcelo Matus
4449d0ba68
fix bad FLT_MIN use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 01:53:52 +00:00
Marcelo Matus
1907bc9a96
fix range problem for complex<float>, found by szabi@mplayerhq.hu
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 21:37:09 +00:00
Marcelo Matus
fa853808a1
fixes for strings and cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-28 13:34:16 +00:00
Marcelo Matus
557c66c367
more comments and cosmetic fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:07:45 +00:00
Marcelo Matus
7c4ccbedfd
fix compiler warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:07:07 +00:00
Marcelo Matus
d633d9001c
allowing template arguments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:06:41 +00:00
Marcelo Matus
299d8fc456
added backward comp for old As/Check/From methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-22 00:17:54 +00:00
Marcelo Matus
1d99226334
normalizing the inout typemaps and other cosmetic fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 23:26:18 +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
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
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
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
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
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
c9d6e27b5c
Reducing pyrun.swg and splitting python.swg into different files
...
for clarity and for easier maintainance.
pyrun.swg almost the same than 1.3.20, therefore there will be
compatible again.
code generated is reduced by the use and reuse of %fragments.
as usual, all the test-suite is compiling and a much bigger
"test project" too.
with the new typemaps definition should be much eaiser and
uniform add stl/std and user types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 09:50:24 +00:00