William S Fulton
523d423595
minor type correction to remove unsigned/signed mismatch warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:35:53 +00:00
William S Fulton
a2f4853ce5
Bug #1251832 - C++ template may generate invalid XML file (+correction)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 21:42:13 +00:00
William S Fulton
e590565fe8
Support for Lua added - patch from Mark Gossage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:38:34 +00:00
William S Fulton
f74c045cca
Fix incorrect xml escaping in base class name when base class is a template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 21:20:40 +00:00
Surendra Singhi
befa353f3c
Added support for enums and other minor fixes and improvements.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 05:30:26 +00:00
Matthias Köppe
be0282570a
New language module: Common Lisp with UFFI.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 15:09:15 +00:00
Matthias Köppe
aad197e2d0
Connect the usual targets to an output sink.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 14:57:48 +00:00
Surendra Singhi
4dfb8dee6c
Added support for pointer to functions. Added support for typedefs and a option which will allow to generate "def-c-type" for typedefs.
...
Joerg Hoehle suggested that while declaring arrays "c-ptr" should be used.
Changed the name of generate-all option to extern-all.
Now declaring pointers to integers, short, float and double as c-ptr instead of c-pointer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 05:34:11 +00:00
William S Fulton
0ecab92aaf
SWIG_exception changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:24:18 +00:00
William S Fulton
2aae38d3c0
Support for the null attribute in the out typemap to support return by value struct types
...
SWIG_exception changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:23:17 +00:00
Surendra Singhi
d7eddd4dca
Added support for recursive types. Now handles extern keyword, and there is a new option which allows to generate wrapper for either all functions and variables or only externed ones. Now, automatically adds function names to "defpackage" so that they are exported.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:17:49 +00:00
Matthias Köppe
5c49f23dfc
Use *swig-identifier-converter*.
...
Derive proper foreign types for all pointer types rather than using (*
:void).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-16 12:18:37 +00:00
Surendra Singhi
7645869eda
Defpackage now exports all the functions. This is done by storing the various functions names in a list and then at the end writing it to the top of output file by pushing the rest of the contents down.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-15 04:32:49 +00:00
Surendra Singhi
84ac0f6c9c
Fixed comments and "ffi" package name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-14 04:23:58 +00:00
Matthias Köppe
7cee16c01e
Make several helper functions "static".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 11:35:55 +00:00
Surendra Singhi
36e593dfa4
Added clisp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:04:19 +00:00
Surendra Singhi
ccca3c012e
Initial revision for clisp support.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:03:21 +00:00
Marcelo Matus
83ef5241ee
add Scott's patches for directors: void return, directormap register, better error messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-06 21:02:22 +00:00
William S Fulton
cff2f67179
The default is now to not generate an additional method declaration when a method is declared with an extern. Use -addextern option to recreate original behaviour (new commandline option), with -noextern now redundant.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
William S Fulton
8eb7e528b0
Make variable accessor functions the same across all modules for %extend with member variables to work consistently across all language modules and as documented. Use -oldvarnames commandline option to get the original variable names.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:30:14 +00:00
Marcelo Matus
a719d94031
fix for #1205859
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:28:38 +00:00
Marcelo Matus
45fb27f977
fix for #1205859
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:04:30 +00:00
William S Fulton
71011d09a9
more patches for dodgy gcc-2.96 compiler from Hugo van der Sanden
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 20:31:08 +00:00
Marcelo Matus
327bbc06ac
more fixes for python 1.5 +gcc2.96
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:12:21 +00:00
William S Fulton
a2039dea5d
fix for dodgy gcc-2.96 compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-16 21:21:21 +00:00
William S Fulton
cf56fd2c77
typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
2d53bf6463
Bug fix for when a base class has the same name as a method in a derived class.
...
Fixes for when access changes from protected to public (-fvirtual and override/hides attributes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:38:52 +00:00
William S Fulton
c09b7fa897
Various fixes for VC++7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
e2e829dfc6
copyright year update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
b891717ad8
Fix detection of virtual/overridden methods when derived class has private or protected inheritance from base class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:51:20 +00:00
William S Fulton
815355b964
Uniform handling of SWIGEXPORT across SWIG.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
0870b84abc
Uniform handling of SWIGEXPORT across SWIG (was DllExport)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:40 +00:00
William S Fulton
b29514ffcf
%csmethodmodifiers can be applied to variables as well as methods now.
...
%csmethodmodifiers will replace the virtual/new/override modifiers that SWIG thinks is
appropriate in addition to the default 'public'. This is necessary for some obscure cases
where SWIG might get the modifiers incorrect, for example with private inheritance.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:03 +00:00
William S Fulton
628a069239
Apply same treatment to methods added to a class via the 'using' declaration as normally declared and %extend declared methods
...
Fixes for virtual method detection (for methods with non-public access)
Better detection of 'hidden' methods - a non-virtual identical method in the base, (needed for C# 'new' method modifiers)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:31:33 +00:00
William S Fulton
05dcdca824
Fix incorrect access for methods added via the 'using' declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:24:00 +00:00
William S Fulton
c697a7368a
Fix incorrect access for methods added via the 'using' declaration
...
Exception specifications were not being added to methods added via the 'using' declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:23:15 +00:00
William S Fulton
d00a8ee60f
Covariant return types fixes
...
Any method which hides a base method is marked (for C# 'new' method modifier)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:03:50 +00:00
William S Fulton
7a72389977
covariant and override attributes better name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:32:34 +00:00
William S Fulton
88f2cdc5bd
Fix bugs in detection of polymorphic methods
...
- when %ignore used on class
- when typedefs involved
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:31:41 +00:00
William S Fulton
71646dcd81
more fixes for gcc -fstrict-aliasing -Wall
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:51:16 +00:00
William S Fulton
94e6c86d06
Fixes to remove "dereferencing type-punned pointer will break strict-aliasing rules" warnings in C wrappers when compiling C code with 'gcc -Wall -fstrict-aliasing'. Patch from Michael Cahill.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:14:35 +00:00
William S Fulton
9bd7f1ec9a
whitespace fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:40:55 +00:00
William S Fulton
a0712b227f
C# attribute support added - %csattributes feature, %csattributes typemap
...
and inattributes & outattributes typemap attributes for the imtype and cstype typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:19:47 +00:00
William S Fulton
c2e9c01ab1
Scott Michel director patch, typemap consolidation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
9be34b6b9a
support for asymmetric type marshalling - added out attribute for ctype, imtype and cstype typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 21:59:17 +00:00
William S Fulton
078ca985cf
gcc-4.0 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-24 20:34:51 +00:00
Matthias Köppe
8deae44cc6
Fix "define-method" generation for methods of classes with a
...
constructor. Reported by Luigi Ballabio.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-22 12:28:51 +00:00
John Lenz
42d3ea7276
Chicken: Minor optimization to the exported constructor functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-16 21:42:42 +00:00
John Lenz
d5974f3e1e
SWIG chicken module now returns multiple values instead of returning a list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 22:38:09 +00:00
John Lenz
b599732cdc
Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00