Marcelo Matus
f2f1b9889f
Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
1c7c9e44f7
massive typemap unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
Marcelo Matus
9cbe065017
More fix for warnings, and add some of the ideas of the Bill's 'labels' patch
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-24 23:48:20 +00:00
Marcelo Matus
a5a372c304
add missing #include <string>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:17:30 +00:00
William S Fulton
31d1012b0a
removed redundant valuewrapper feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
19ab048261
more docs/split and cleaning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:31:24 +00:00
Marcelo Matus
a300b82163
isolate language independent STD/STL/C++ code + more documentation + cleaning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 06:42:15 +00:00
Marcelo Matus
b501fb8521
replacing SWIGSTATIC(a) by SWIGINTERN a
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 20:15:46 +00:00
Marcelo Matus
b9bfda7868
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@6250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 06:17:35 +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
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
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
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
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
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
Marcelo Matus
b85c9ace6b
Fix long long and other warnings.
...
Add the macros
%typemap_asfromcheck()
%typemap_asfrom()
that can be used to defined all the different typemaps
for types where the As/From/Check methods are provided.
All the basic type (int, char,...) typemaps are implemented
using them.
The std::string and std::complex<T> are reimplemented using
the new %typemap_asfrom/check macros too. This helps to complete
all the previously missing typemaps (consttab, varin, varout,..)
and also ilustrates how to define the As/From/Check methods
to use with the %typemap_asfrom/check macros.
As a byproduct, the C complex typemap was added, and the file
complex.i
can be used to load the complex support for either C or C++. The
original C++ std_complex.i is still there, and the corresponding C
ccomplex.i too, if they need to be included explicitly.
Also, the As/From methods are declared via %fragment, so, they
can be reused as needed, and only appear in the wrapped code if
they corresponding typemap is invoked, making the typemaps
and the entire code shorter and simpler.
Marcelo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:30:13 +00:00
William S Fulton
f569dd135d
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
Luigi Ballabio
c48f73d7aa
Allow for strings with embedded zeros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 12:00:17 +00:00
Mark Rose
bd40a83f1c
polymorphism patch merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Luigi Ballabio
524636ef1c
Allow returning std::strings with embedded null characters (why one would want to do this is beyond my understanding)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Dave Beazley
516036631c
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00