Surendra Singhi
b82b18ac9b
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@7330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-15 04:32:49 +00:00
Surendra Singhi
9ed6525482
Fixed comments and "ffi" package name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-14 04:23:58 +00:00
Matthias Köppe
606a9ba1e3
Make several helper functions "static".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 11:35:55 +00:00
Surendra Singhi
c0b24f8b34
Added clisp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:04:19 +00:00
Surendra Singhi
b2427b7d4a
Initial revision for clisp support.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:03:21 +00:00
Marcelo Matus
c66b71417c
add Scott's patches for directors: void return, directormap register, better error messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-06 21:02:22 +00:00
William S Fulton
11dc59b22e
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@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
William S Fulton
0edd1dee4d
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@7313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:30:14 +00:00
Marcelo Matus
f5bcace78c
fix for #1205859
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:28:38 +00:00
Marcelo Matus
0bf296c7ad
fix for #1205859
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:04:30 +00:00
William S Fulton
3c361ac244
more patches for dodgy gcc-2.96 compiler from Hugo van der Sanden
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 20:31:08 +00:00
Marcelo Matus
7b1b141ee4
more fixes for python 1.5 +gcc2.96
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:12:21 +00:00
William S Fulton
635077a698
fix for dodgy gcc-2.96 compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-16 21:21:21 +00:00
William S Fulton
c4352f8bb7
typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
3ed206ebd0
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@7260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:38:52 +00:00
William S Fulton
b707684fec
Various fixes for VC++7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
385eef2af5
copyright year update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
e8d738ab42
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@7243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:51:20 +00:00
William S Fulton
c25d1c8e35
Uniform handling of SWIGEXPORT across SWIG.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
27270d050d
Uniform handling of SWIGEXPORT across SWIG (was DllExport)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:40 +00:00
William S Fulton
56bd6e048b
%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@7227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:03 +00:00
William S Fulton
4ff2deed13
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@7218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:31:33 +00:00
William S Fulton
896c26bf80
Fix incorrect access for methods added via the 'using' declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:24:00 +00:00
William S Fulton
474161aca5
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@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:23:15 +00:00
William S Fulton
96c3123156
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@7209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:03:50 +00:00
William S Fulton
79ee75daf4
covariant and override attributes better name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:32:34 +00:00
William S Fulton
20a2a120c9
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@7195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:31:41 +00:00
William S Fulton
815f9f0265
more fixes for gcc -fstrict-aliasing -Wall
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:51:16 +00:00
William S Fulton
09a0062404
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@7192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:14:35 +00:00
William S Fulton
d2c036b5e7
whitespace fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:40:55 +00:00
William S Fulton
43a6363856
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@7184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:19:47 +00:00
William S Fulton
e6ceb122a6
Scott Michel director patch, typemap consolidation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
5b0b80a964
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@7172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 21:59:17 +00:00
William S Fulton
f9ca6ab4c0
gcc-4.0 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-24 20:34:51 +00:00
Matthias Köppe
0e719c5eb3
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@7163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-22 12:28:51 +00:00
John Lenz
33fda759d4
Chicken: Minor optimization to the exported constructor functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-16 21:42:42 +00:00
John Lenz
cee86ee739
SWIG chicken module now returns multiple values instead of returning a list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 22:38:09 +00:00
John Lenz
420ba48099
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@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00
William S Fulton
419ae77b1a
Fix typemap matching when wrapping variables (global, member and static member variables).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-14 20:19:59 +00:00
William S Fulton
6dbb138a49
remove some unnecessary code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-14 20:14:05 +00:00
John Lenz
c5f25b9168
Add some chicken test-suite entries for overloaded functions
...
(which now work correctly) and update the chicken documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-07 00:39:28 +00:00
John Lenz
c70b62fee2
Some chicken bug fixes for overloaded -proxy methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 20:39:57 +00:00
John Lenz
9203328908
Chicken: a few bug fixes, a new example and some new test suite runme, and some doc updates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 17:48:31 +00:00
William S Fulton
34a035e3f1
template ext mode on for all languages, not just Python now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
b173c87231
Fixes to correctly display file and line number when a warning originates from a typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:36:52 +00:00
John Lenz
b3eb733c32
Improvements to the chicken module: tinyclos works with overloaded methods and some other changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 06:33:16 +00:00
William S Fulton
e683b3c7f7
directorout typemaps added (patch from Scott Michel)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:53:36 +00:00
William S Fulton
441efdb411
corrected directorout warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:52:53 +00:00
William S Fulton
c5a6351bff
fix %varargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
William S Fulton
99310ae64c
warning change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-20 22:11:11 +00:00