Henning Thielemann
b5e078cd08
some words about Firstkey and Nextkey
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 18:35:17 +00:00
Marcelo Matus
9497c8cb66
added ref/unref and friend dec. support comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 02:07:52 +00:00
Marcelo Matus
cf2e4870e7
another fix for long long
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 18:40:44 +00:00
Henning Thielemann
4a571178ce
added a line for Modula-3 support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 18:19:42 +00:00
Marcelo Matus
2537ee1c34
fix old std_pair version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 10:45:19 +00:00
Marcelo Matus
49f0823a25
more test files for STL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:52:22 +00:00
Marcelo Matus
e205e0012d
add vector test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:49:17 +00:00
Marcelo Matus
503c615c67
add test for the mangling extension #@ preproc.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:44:35 +00:00
Marcelo Matus
135a367a2e
fix template complex
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:43:35 +00:00
Marcelo Matus
1d5529bcfc
better STL support, see CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:41:19 +00:00
Marcelo Matus
958c18a14c
Added more STL containers typecheck code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:47:18 +00:00
Marcelo Matus
e0adc5af01
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/SWIG@5753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:36:06 +00:00
Marcelo Matus
a8d60a0058
Added the #@ mangling extension
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:32:11 +00:00
Marcelo Matus
a95c468076
Using the unused 'Swig_string_mangle' method to
...
implement the #@ preprocessor mangling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:27:02 +00:00
Marcelo Matus
cf8a1c311c
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/SWIG@5750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:18:17 +00:00
Marcelo Matus
6184dceb5b
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/SWIG@5749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:01:06 +00:00
William S Fulton
d05b12f642
documentation version number corrected
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:32:25 +00:00
William S Fulton
9491429860
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/SWIG@5746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:26:47 +00:00
William S Fulton
ba68c5f253
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-11 21:25:46 +00:00
Matthias Köppe
fcd9181a1e
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-02 15:55:41 +00:00
Matthias Köppe
a5bc7fc6a7
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-02 12:58:30 +00:00
Matthias Köppe
e3635aed11
In -scm mode, don't forget to check the type of string arguments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-02 12:58:00 +00:00
William S Fulton
baded88f32
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:07:26 +00:00
William S Fulton
93492cfe6a
All tests now use the -namespace commandline option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:06:54 +00:00
William S Fulton
173a25a6fd
New commandline option -namespace for putting all generated classes into a C# namespace.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:05:48 +00:00
William S Fulton
f306061b04
Generate package statement after the SWIG banner
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:03:47 +00:00
Matthias Köppe
5bea0cb140
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 13:56:41 +00:00
Matthias Köppe
30d9c11393
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/SWIG@5736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 13:56:29 +00:00
Matthias Köppe
5650e26ccd
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 12:57:50 +00:00
Matthias Köppe
f7b0956236
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/SWIG@5734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 12:56:58 +00:00
Matthias Köppe
5d0752c94f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-22 15:28:14 +00:00
Matthias Köppe
7fbaa3b633
Don't try to invoke a null destructor function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-22 15:28:03 +00:00
William S Fulton
d3d9210bd0
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/SWIG@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
William S Fulton
c227c0a166
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:54:30 +00:00
William S Fulton
06b079936c
bool patch code removal
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:52:49 +00:00
William S Fulton
6516029372
Fixes for compilation by the Digital Mars Compiler. Submitted by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:51:47 +00:00
William S Fulton
73d0efa0d8
boring warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-19 21:45:10 +00:00
William S Fulton
ef24de36fb
bool patch fix. Needed for NextStep.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-19 21:44:44 +00:00
Matthias Köppe
7126136e01
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-13 16:03:32 +00:00
Matthias Köppe
e2d254b686
Don't produce invalid C code when invoked with the
...
-declaremodule option. Reported by Tim Brown, SF #891108 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-13 16:03:24 +00:00
Matthias Köppe
90c3bb8085
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-13 15:50:41 +00:00
Matthias Köppe
64818068f6
[MzScheme]: Use the new command-line argument -noinit.
...
[Guile]: Build the runtime library with passive linkage, so as to
rename the SWIG_init function uniquely.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-13 15:50:21 +00:00
Matthias Köppe
994a002fdb
New command-line argument -init.
...
We use it for building the runtime library, where we don't want the
functions scheme_initialize et al.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-13 15:47:55 +00:00
Dave Beazley
a1ef09aa22
Removed 'bool' datatype. Not portable. Please don't use.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-13 00:20:12 +00:00
William S Fulton
93fcabc087
-mno-cygwin for C# on Cygwin due to recent change in Cygwin stopping pure Cygwin built dlls from working.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 22:36:25 +00:00
William S Fulton
04c803daa9
CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 22:00:48 +00:00
William S Fulton
6ad892a1b7
Updates for overloading methods which cannot be disambiguated by SWIG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:51:59 +00:00
William S Fulton
f09b8b4af8
new overload warnings for statically typed languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:51:19 +00:00
William S Fulton
2f22b3deb2
overloading for static typed languages notes added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:50:48 +00:00
William S Fulton
72618a43fb
Overloading fixes for when methods cannot be disambiguated.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:48:55 +00:00