Marcelo Matus
3aac30b168
more typemaps unification and fixes for valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:52:50 +00:00
John Lenz
ac9ed4789f
Fix minor bug: a missing # causing a SWIG error on li_cdata test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 06:17:18 +00:00
Marcelo Matus
43f36d52ad
fixes to compile OSS
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 15:20:17 +00:00
Marcelo Matus
8708bb507e
fix for template types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 14:16:22 +00:00
Marcelo Matus
ae6714aff3
cosmetic change, remove repeated docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:54:54 +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
John Lenz
16d7a306b8
Chicken:
...
fix memory corruption/segfault in the argout typemap when it is used with a wrapped pointer return
unsigned long typemaps could overflow... correctly check for this case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 04:05:11 +00:00
William S Fulton
171dae1d34
%typecheck fixes for size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 22:23:55 +00:00
William S Fulton
a0030c7626
Workaround for #error in typemaps erroring out when swig is running rather than when the compiler executes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 22:23:25 +00:00
William S Fulton
98e6644fe5
Fix so that it is possible to overload methods with 2 different enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 01:27:07 +00:00
William S Fulton
496e6e7a19
restore %makedefault and %mutable to their former behaviour, ie they clear the feature rather than unset the feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 00:15:30 +00:00
John Lenz
0ccc9b1b37
Update some chicken typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-12 01:24:16 +00:00
William S Fulton
01da157969
const enum SWIGTYPE& fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 13:51:59 +00:00
William S Fulton
a81b3a0c35
minor simplification for const enum SWIGTYPE&
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 13:51:15 +00:00
Charlie Savage
a17e510b41
Fixed handling of char. This was needed due to changes in handling of %constants in ruby.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 19:51:51 +00:00
William S Fulton
2a70234ac4
fix typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 13:58:50 +00:00
William S Fulton
f8ee15c278
throws typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 13:58:31 +00:00
Marcelo Matus
54a044fd89
add the %refobject and %unrefobject directives for the ref/unref features, and add the %nosomething and %clearsomething directives as needed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:20:42 +00:00
Marcelo Matus
fe00d5cb85
fixes for new flag attribute convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:19:06 +00:00
Kevin Ruland
b508dafbd5
Fixes to support %constant strings defined by other variables or preprocessor
...
defines such as:
#define STR "a constant string"
%constant char *ConstantValue = STR;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 01:18:29 +00:00
John Lenz
212a53892a
Minor updates to the documentation
...
Minor bug fixes to chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-06 01:20:05 +00:00
William S Fulton
517e48f697
remove %pythondynamic - it didn't work properly - use %pythonnondynamic instead
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:14:34 +00:00
Charlie Savage
72c48ff661
Fixed handling of constants. Previously if a %constant directive was defined before a #define it would not work correctly.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-03 19:47:06 +00:00
Marcelo Matus
a22d85073c
fix VC++ warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:17:05 +00:00
Marcelo Matus
2b44057526
cosmetic change, remove comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:05:33 +00:00
Marcelo Matus
33a752b0bd
add %exceptionclass and %noexceptionclass directives and manage the feature:exceptionclass in a consistent way
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:04:42 +00:00
Marcelo Matus
3119b1e40e
python defines it owns mechanism in python/std_except.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 12:58:25 +00:00
Marcelo Matus
0d257db1e4
fix error in const char* to char* invalid cast
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 09:43:36 +00:00
William S Fulton
01701253f1
macro logic fix from Robert De Vries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 21:28:17 +00:00
William S Fulton
a0cb4442d7
warning/error fixes for Visual Studio
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:58:41 +00:00
William S Fulton
1d4711c429
Visual Studio warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 20:16:09 +00:00
Marcelo Matus
73d3efeb0d
small fix for unsigned int and unsigned long, but still there are problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 08:15:46 +00:00
Matthias Köppe
89d7d215fe
Fix last change, add throw typemap for enums.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 21:46:23 +00:00
Marcelo Matus
1a8b5611e5
add missing const ptr case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 14:53:39 +00:00
Charlie Savage
2f774be1b9
Added a typemap %typemap(in) (int LENGTH, char *STRING) that is simply the reverse of %typemap(in) (char *STRING, int LENGTH).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 06:06:44 +00:00
Matthias Köppe
a681c89727
Added throw typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 21:36:01 +00:00
William S Fulton
8d598c61fc
Best attempt at missing directorin typemaps to fix director_wombat.i testcase. Could do with checking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 22:56:30 +00:00
Charlie Savage
71726a217a
Object tracking support. Defined two new pointer conversion flags used by SWIG_ConvertPtr and SWIG_NewPointerObj. The new flags are:
...
#define SWIG_POINTER_OWN 0x1
#define SWIG_TRACK_OBJECTS 0x4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:04:06 +00:00
Charlie Savage
0316580de7
Support object tracking. Updated SWIG_NewPointerObj and SWIG_Ruby_ConvertPtr to take into account object tracking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:03:05 +00:00
Charlie Savage
5de04ac495
Support for object tracking. Includes new reference to "rubytracking.swg" and defines a new feature called "trackobjects"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:01:57 +00:00
Charlie Savage
96e21427ba
New include file that implements an API for tracking objects.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:49:31 +00:00
William S Fulton
886ce073e1
Lua improvements - Mark Gossage patch #1295168
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:57:30 +00:00
William S Fulton
39119b2d07
Mark Gossage patch 1295168
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 19:35:23 +00:00
Kevin Ruland
dbcae3b00c
Fix error message in %typemap(in) SWIGTYPE*.
...
Change handling of char[ANY] out. Now return null padding.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:50:16 +00:00
Kevin Ruland
d4e5c9fbca
Change handling of char[ANY] output typemaps, have it return the null
...
padding and use t_output_helper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:44:56 +00:00
Kevin Ruland
b865eddc83
Convert PHP nulls into NULL pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:44:11 +00:00
Kevin Ruland
33374d9ad4
Change typemap to use variable name REF.
...
Added additional typemaps for other simple types (integers, doubles, strings).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:25:49 +00:00
Kevin Ruland
b9b43734d3
Switch typechecks for simple data types to allow conversion.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:24:05 +00:00
William S Fulton
fea5471cf7
unsigned long long director fixes (bug 1238798)
...
Also missing cvs commit for director fixes for SWIGTYPE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
Marcelo Matus
05ceecefc4
add missing directorin typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:38:46 +00:00