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
748462bb3e
Fixed perl5.005 problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:14:14 +00:00
Luigi Ballabio
a07b071331
Fixed problem with std::vector<unsigned int>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 08:23:00 +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
Dave Beazley
e4319e118e
Fixed (char *STRING, int LENGTH) typemap to use STRLEN type.
...
Eliminates compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:24:38 +00:00
William S Fulton
60c74da9c6
Added missing SWIGIMPORT to runtime library functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:15:15 +00:00
Dave Beazley
465eebfb32
[ 841074 ] better croaking (PATCH)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:06:56 +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
Dave Beazley
0b75c636c4
Added Swig_contract_assert
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:58:56 +00:00
Dave Beazley
445625dc0a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:44:32 +00:00
Matthias Köppe
13f434304d
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. The standard
functions are:
* SWIG_NewPointerObj (POINTER, TYPE, FLAGS)
-- Create an scripting object that represents a typed
pointer. FLAGS are language specific.
* SWIG_ConvertPtr (INPUT, RESULT, TYPE, FLAGS)
-- Get a pointer from the scripting object INPUT and
store it in the place RESULT. When a type mismatch
occurs, return nonzero.
* SWIG_MustGetPtr (INPUT, TYPE, ARGNUM, FLAGS)
-- Get a pointer from the scripting object INPUT and
return it. When a type mismatch occurs, throw an
exception. If ARGNUM > 0, report it as the
argument number that has the type mismatch.
[Guile]: No changes.
[MzScheme]: No changes.
[Perl]: Add the function SWIG_NewPointerObj.
The function SWIG_MakePtr is kept.
The function SWIG_MustGetPtr is currently not
supported.
[Python]: Add the function SWIG_MustGetPtr.
[Ruby]: Add the function SWIG_MustGetPtr.
[Tcl]: Remove the "interp" argument of
SWIG_NewInstanceObj, SWIG_ConvertPtr,
SWIG_ConvertPacked, and SWIG_ConvertPtrFromString.
The function SWIG_MustGetPtr is currently
not supported.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:49:45 +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
Dave Beazley
77d05524a9
Fixed [ 827907 ] argout objects not being wrapped properly (PATH).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:43:38 +00:00
Dave Beazley
55a6ee7007
Fixed [ 826996 ] perl type checking ignores perl subclasses.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:02:44 +00:00
Dave Beazley
360eb281e8
Fixed [ 800012 ] ENTER macro from CORE/scope.h clashes with libc search.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:52:45 +00:00
Dave Beazley
ce52c68732
Fixed [ 811518 ] Casting ints to doubles (w/ solution?)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:35:18 +00:00
William S Fulton
22bcd64ccd
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
_SWIG_ConvertPtr and _SWIG_MakePtr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:17:46 +00:00
Luigi Ballabio
768fa03144
Fixed Perl std::vector::at problem with gcc < 3.0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 08:19:27 +00:00
Dave Beazley
c5b153d169
Fixed [ 786394 ] Patch for generated perl code does not compile under RedHat9
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:13:33 +00:00
Luigi Ballabio
62741dd03e
Typemap for size_t applied to std::size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Dave Beazley
8564ddabf0
Improvements to array handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 16:16:00 +00:00
William S Fulton
8a54131cd2
Reduced number of occurrences of annoying warning to 1, as reported by Gerald Williams using perl-5.8.0 and GCC3 onwards on Cygwin:
...
In function `int SWIG_ConvertPtr(SV*, void**, swig_type_info*, int)':
warning: cast to pointer from integer of different size
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-04 22:32:02 +00:00
Luigi Ballabio
dcb94e7d4a
std::pair added (but not very much tested)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
William S Fulton
a951a86659
Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
...
These were useless as they just produced a setter that gave a runtime error.
Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
Luigi Ballabio
a33c36b0a7
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 09:13:12 +00:00
Luigi Ballabio
7b977084c2
Specialized typemaps---some problems though
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 08:47:31 +00:00
Luigi Ballabio
7463cde52f
Missing files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 13:02:58 +00:00
William S Fulton
6ab0796609
long long typemap mods for using with %apply by compilers that don't understand long long
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:50:14 +00:00
Dave Beazley
3bb10c5791
Long long typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:46:15 +00:00
William S Fulton
af3ec605e9
long long typemap mods for use with %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
Luigi Ballabio
9d50216d9c
Support for std::map (thanks, Dave)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Dave Beazley
08c3b43b24
Added John's perl5 patches
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-14 18:04:21 +00:00
William S Fulton
dd2cedbd36
Fixes to SWIGTYPE& varin and varout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:11:10 +00:00
Luigi Ballabio
32e0a3d8e7
A global stl.i works just as well
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Luigi Ballabio
ec0919954c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-10 07:50:30 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
94651ffbd5
Oops. Fixed _SWIG_ConvertPtr name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:24:44 +00:00
Dave Beazley
58ecd2560f
Major fixes to pointer libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 19:25:15 +00:00
Dave Beazley
16ff68c288
Changed _swig_type_info to swig_type_info
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
475fc1b442
Added SWIG_MakePtr() and made other fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:12:17 +00:00
Dave Beazley
ab5bdaf8b6
Perl5 changes. Bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 21:14:33 +00:00
Dave Beazley
4e317b85af
Added files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@39 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 21:15:54 +00:00