Marcelo Matus
2ab2beac5c
fix for SF#1096981, bad long castings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 23:16:30 +00:00
John Lenz
c3338b1a16
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
a45c6c63a1
better warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:58:24 +00:00
Marcelo Matus
c98340f0a7
fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
76970ce637
fix enum + ref + directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:18:56 +00:00
William S Fulton
b8d5ea651d
const enum SWIGTYPE & typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
Marcelo Matus
c573cfe3a8
minor 'const' consistence fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:30:55 +00:00
Marcelo Matus
811c159e38
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
Marcelo Matus
41a0b2dd59
fix def args + director + constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
William S Fulton
a87c96ec8e
size_t fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:12:01 +00:00
Marcelo Matus
bcd966d1c5
add directorin/directorout for prim. types + ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:40:34 +00:00
Marcelo Matus
7841a3dab7
fix varout for SWIGTYPE, bug #1037259
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:11:32 +00:00
Marcelo Matus
3ce2d115c5
fix directors + std::string, reported in 1024595
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:03:13 +00:00
Marcelo Matus
c599db0cd6
add patch 1025861 for director + exceptions, fix director + enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
Luigi Ballabio
ae9f8cd796
Raising check made tolerant during typecheck
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 14:03:56 +00:00
John Lenz
0c57969c61
- Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
...
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
William S Fulton
cd22d76972
fixes for directors and default arguments in the constructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
William S Fulton
85b1bcfc47
removed redundant valuewrapper feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
9d9580639a
add %typemap(varin) SWIGTYPE[], fix some typemaps to be safe for %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:38:44 +00:00
Marcelo Matus
5a4369fd11
avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
John Lenz
75e462baa8
Removed ability to share type information by C linking
...
All type sharing happens through a global variable in the target language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
John Lenz
6ed2f7e90e
New way of sharing type information between modules for chicken, mzscheme,
...
ruby, tcl, and perl.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
Lyle Johnson
02bb4b0a68
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 03:33:11 +00:00
Lyle Johnson
ae29b50240
Corrections for Ruby 1.6 compatibility.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:37:54 +00:00
Lyle Johnson
d79678c619
Added "directorout" typemaps for char * and const char * return values.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:57:06 +00:00
Lyle Johnson
7322ef7cb7
Modified the "varin" typemap for a dimensionless char array to generate
...
a warning message, and to raise an exception if the typemap is actually
invoked at runtime. This is needed to avoid problems for the case when
wrapping an extern char[] declaration, where the array size is truly
unknown.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:48:40 +00:00
Lyle Johnson
72cf9e7ee7
Added a "throws" typemap for enum types. Fixes the broken throw_exception.i
...
test case for the Ruby module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:34:44 +00:00
Lyle Johnson
eea19ad0db
Added "throws" typemaps for std::string and its variants. Fixes broken
...
test case lib_std_string.i for the Ruby module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:28:05 +00:00
Lyle Johnson
14e616436c
Added some missing throws typemaps for SWIGTYPE and its variants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:07:55 +00:00
Lyle Johnson
db3148bad0
Break the standard Ruby typemaps out into a number of smaller files
...
which are included by ruby.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:28:07 +00:00
Lyle Johnson
3fcd788313
Corrected some of the "throws" typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 01:07:05 +00:00
Lyle Johnson
1feef7530b
Minor fix for the cpp_enum.i test case, which was broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 00:38:52 +00:00
Lyle Johnson
bcfce506d1
Added a varin typemap for char[] (Ruby). Fixes broken test case
...
arrays_global.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-14 17:33:18 +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
a8e552c932
added defined
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 08:25:10 +00:00
Marcelo Matus
8e8e0ce6e8
Forgot #undefs, add python bad names, change names from
...
tclkw.swg and phpkw.swg to the right ones tcl8kw.swg and php8kw.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:15:46 +00:00
Marcelo Matus
7b8f415319
- Uniform the definition of the keyword warnings through
...
the supported languages.
- Added keyword list for most of the languages that didn't
have one.
- "All keywords" warning support, through the -DSWIG_ALLKW
option.
Read the Changes.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
Dave Beazley
ffe434c22f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 12:44:49 +00:00
Dave Beazley
09d0af6fea
Added pack/unpack functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 18:07:36 +00:00
Dave Beazley
1bb91ece90
Added Perl support for member pointers. Some reorganization of other runtime code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:17 +00:00
Luigi Ballabio
5e161fa7cd
Char and unsigned-char specialization added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
Logan Johnson
40cb2afe0d
Added Ruby module runtime support for SWIG_contract_assert() macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Logan Johnson
5d9a1c2480
Fixed some errors in the template specialization for std_vector.i on
...
vectors of "pointer to T".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:24:55 +00:00
Matthias Köppe
e1534f83cd
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
Unify the pointer-conversion runtime API.
[Ruby]: Add the function SWIG_MustGetPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:34:51 +00:00
Matthias Köppe
de27e32afb
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:48:17 +00:00
Luigi Ballabio
739c9499a1
Specialization for vector<T*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-24 11:35:50 +00:00
William S Fulton
d4a9ac02c8
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
__get_self()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:21:51 +00:00
William S Fulton
f4fac221fa
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
...
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +00:00
William S Fulton
9da574aae9
__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/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
7ee01311b2
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00