William S Fulton
d13459f6ca
Replace JNIEXPORT with SWIGEXPORT, thereby enabling the possibility of using gcc -fvisibility=hidden for potentially smaller faster loading wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:00:59 +00:00
William S Fulton
6c9455d440
Daniel Moore patch - more operator overloading support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:07:38 +00:00
William S Fulton
a38a0ee182
operator <= >= patch from Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-06 08:22:13 +00:00
William S Fulton
d228d4225c
uninitialised variable warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:02:23 +00:00
William S Fulton
5d261cff61
operator overload fix patch from Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:00:27 +00:00
William S Fulton
0409138721
Remove protected method wrapper (directors) which was being generated when there was no corresponding method in the C++ class. It seemed to be adding in proxy director methods to derived classes if the base class had a protected virtual method. There is no reason to have the extra method (it doesn't happen with public methods) and is the wrong place to add extra methods in any case - should be done in one of the earlier parse stages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 22:15:24 +00:00
William S Fulton
da8b2acc99
Fixes for override / hidden methods detection when using directors (for C#)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 22:08:09 +00:00
William S Fulton
6326f4d5c6
redundant attribute check removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 21:03:26 +00:00
William S Fulton
1aade65755
Only generate C# SwigDerivedClassHasMethod() if there are director methods in the class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 21:00:26 +00:00
Mikel Bancroft
3069aa45fb
05/25/2006: mutandiz
...
[allegrocl]
Fix bug in generation of CLOS type declarations for unions
and equivalent types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 23:22:05 +00:00
Olly Betts
7808da6cd2
Eliminate use of static fixed sized buffers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 08:01:36 +00:00
Mikel Bancroft
cf55986a90
5/24/2006: mutandiz
...
[allegrocl]
Don't require full class definition to generate CLOS wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-24 08:33:07 +00:00
Olly Betts
b4b814dd26
Make GCC visibility support work with PHP.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 12:59:06 +00:00
Olly Betts
8a9da3c42e
Removed support for -dlname (use -module instead). Fixed
...
naming of PHP extension module to be consistent with PHP
conventions (no "php_" prefix on Unix; on PHP >= 4.3.0, handle Unix
platforms which use something other than ".so" as the extension.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-19 05:43:26 +00:00
Olly Betts
6251ece095
Conditionalise generation of the C++ implemented proxy classes on the target
...
PHP version being PHP4 (since they don't work for PHP5).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-17 09:22:57 +00:00
Olly Betts
92556ddac3
Set "wrapperType = staticmemberfn;" when processing a static member function.
...
This should make no difference currently (testsuite output is unchanged) but
it's required for generating PHP5 OO wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 02:28:52 +00:00
Olly Betts
b1997e54ea
Add -php5 option which will turn on PHP5-specific output (and -php4 will
...
generate PHP4-specific output, with -php just being an alias for one of them.
Currently the only difference is that -php5 SWIGPHP5 is defined instead of
SWIGPHP4.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 00:16:32 +00:00
Olly Betts
faa6c0b375
Fix typos in comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 20:19:21 +00:00
Olly Betts
810e52803e
Fix warning from Intel C++ v9.0 on generated header file:
...
ruby/foo_wrap.h(14): warning #64 : declaration does not declare anything
class Swig::Director;
^
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 20:01:49 +00:00
Olly Betts
69d8eda7f8
There's no need to call zend_get_parameters_array_ex() when no parameters
...
have been passed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 19:58:34 +00:00
Olly Betts
860643a341
When iterating Hash hash with Iterator ki, use ki.item instead of
...
Getattr(hash, ki.key).
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 19:06:45 +00:00
Olly Betts
262207f6ed
Store the Node for the current class rather than just its name (which
...
makes little difference now, but paves the way for future changes...)
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:54:40 +00:00
Olly Betts
a808fade81
Use cap_module more instead of reconverting module to uppercase on the fly.
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:53:04 +00:00
Olly Betts
eee168b6aa
More typos.
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:46:45 +00:00
Olly Betts
3f6208232b
Replace stderr messages with Swig_warning where there's an existing
...
WARN_XXX code.
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:31:49 +00:00
William S Fulton
00b7f0d72f
minor director tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:18:31 +00:00
William S Fulton
2eff743367
director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:18:07 +00:00
William S Fulton
800605149b
cosmetic mods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:17:45 +00:00
Olly Betts
96e1a067b4
Remove unnecessary use of %s with a constant string, making code consistent
...
with elsewhere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 13:36:43 +00:00
Surendra Singhi
d25519b86a
a struct/enum/union is replaced with :pointer only if
...
that slot is actually a pointer to that type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 11:02:16 +00:00
Surendra Singhi
9722c97b2a
Removed -extern-all option which was not present, and fixed exporting of variable names.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 06:47:08 +00:00
Marcelo Matus
dd8f4aa003
fix seg fault with -noproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 22:16:43 +00:00
Surendra Singhi
67f80bb5ef
Thanks to Thomas Weidner.
...
- when feature export is set (export 'foo) is generated for every
symbol, i think should be external.
- when feature inline is set (declaim (inline foo)) is generated
before every function definition
- when feature intern_function is set #.(value-of-intern-function
"name" "nodeType" package) is emitted instead of the plain symbol. a
sample swig-lispify is provided.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 10:43:22 +00:00
Surendra Singhi
785998100c
Prefixed package name to cffi symbols.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 07:47:44 +00:00
Surendra Singhi
d985c7cf9c
Added the option [no]swig-lisp which turns on/off generation
...
of code for helper lisp macro, functions, etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-13 18:07:28 +00:00
Surendra Singhi
f0d89aefe1
Generates wrappers for all variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-13 11:57:06 +00:00
Marcelo Matus
003804a4c0
better error message for overloading, as suggested by Tijs Michels, and doc fixes, provided by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:42:10 +00:00
Marcelo Matus
52cfa52b83
fix docs, path provided by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:40:20 +00:00
Mikel Bancroft
497228ec04
04/05/2006: mutandiz
...
[allegrocl]
Fix output typemap of char so it produces a character instead
of an integer. Also adds input/output typemaps for 'char *'.
add command-line argument -isolate to generate an interface
file that won't interfere with other SWIG generated files that
may be used in the same application.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 06:28:53 +00:00
John Lenz
7b4adb3109
Update Chicken configuration to not use chicken-config
...
which was removed in version 2.3
Other minor bug fixes to chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 01:16:57 +00:00
Marcelo Matus
3d4a44ac03
more fixes for '%rename Class' + %copyctor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:14:47 +00:00
Marcelo Matus
9857ae8e6d
more fixes for '%rename Class' + %copyctor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:12:43 +00:00
Mikel Bancroft
79df852156
03/20/2005: mutandiz
...
[allegrocl]
More tweaks to INPUT/OUTPUT typemaps for bool.
Fix constantWrapper for char and string literals.
find-definition keybindings should work in ELI/SLIME.
Output (in-package <module-name>) to lisp wrapper
instead of (in-package #.*swig-module-name*).
slight rework of multiple return values.
doc updates.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 07:15:38 +00:00
William S Fulton
b3bf82ca45
Fix swig --help -<lang> working differently to swig -help -<lang>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 22:05:28 +00:00
Marcelo Matus
8561339c44
fix %rename + %copyctor issue reported by William
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 01:06:11 +00:00
Marcelo Matus
7664a87b1d
generate error when a proper overloaded function is not found, as suggested by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 00:24:39 +00:00
Marcelo Matus
fde04302a7
remove debugging print
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 23:36:22 +00:00
William S Fulton
c23664ff97
Fix #1448184 error message formatting
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 22:40:45 +00:00
Matthias Köppe
4dff31857a
#ifdef out debugging statement.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-18 01:56:18 +00:00
Mikel Bancroft
d1b3949aba
03/17/2005: mutandiz
...
[allegrocl]
mangle names of constants generated via constantWrapper.
When using OUTPUT typemaps and the function has a non-void
return value, it should be first in the values-list, followed
by the OUTPUT mapped values.
Fix bug with boolean parameters, which needed to be
passed in as int values, rather than T or NIL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-18 01:18:36 +00:00