William S Fulton
89e33f9fda
Correct comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:52:00 +00:00
William S Fulton
06ac19312a
Fix return by reference for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:49:25 +00:00
William S Fulton
28700fd085
clean up more of the generated files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:48:32 +00:00
William S Fulton
fd1829d596
Add in documentation clean
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:47:26 +00:00
William S Fulton
fa5e3a1f07
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:43:12 +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
f5951ecb34
Fix some typos.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-21 11:13:33 +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
f08ed23361
Typo fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 09:03:29 +00:00
Olly Betts
8d5406d958
Fix typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 05:58:26 +00:00
Olly Betts
5f242792d3
Remove reference to -dlname.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 04:56:19 +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
e5398e9c1e
Assorted corrections.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-18 08:46:04 +00:00
William S Fulton
beb007b72c
Fix seg fault when parsing:
...
%inline {
and no closing brace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-17 20:16:21 +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
42e34e1308
Convert C++ std::string to and from ruby such that strings containing
...
zero bytes are handled correctly, as they are elsewhere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 02:01:05 +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
97e9837d46
Fix a typo.
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:56:46 +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
William S Fulton
35e80864f4
Fix char* %apply for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:50:06 +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
Olly Betts
a2365c5bc8
Fix more typos!
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:24:13 +00:00
William S Fulton
fbc8edfc79
C# director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:38:24 +00:00
William S Fulton
0290a29cb7
C# director runtime tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:31:35 +00:00
William S Fulton
b75f19b36a
More director tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:30:38 +00:00
William S Fulton
70879c00e1
C# director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:27:58 +00:00
William S Fulton
807ee96595
C# director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:19:18 +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
William S Fulton
a87c35c3e1
better director support for reference types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:16:20 +00:00
William S Fulton
c60b129351
Director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:15:37 +00:00
Olly Betts
c1fb598f6e
Correct typos.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-07 02:32:28 +00:00
Olly Betts
ee62933ea5
Don't segfault if PHP Null is passed where a C++ reference is wanted.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-07 01:10:31 +00:00
William S Fulton
389b4813ca
more %apply char* fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 23:26:57 +00:00
William S Fulton
b523aaba5e
add in intended %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 23:26:36 +00:00
William S Fulton
7c0b5931fc
remove debug
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 23:24:58 +00:00
Olly Betts
092f3a3806
Fix wrappers generated for global 'char' variables to not include a terminating
...
zero in the PHP string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 14:57:19 +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
Olly Betts
acb60e1644
Wrap multi-statement macro SWIG_PHP_Error(code,msg) in do {...} while (0)
...
to protect it from expanding incorrectly (spotted by Sam Liddicott).
Fortunately all current uses by SWIG itself appear to be safe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 00:34:01 +00:00
Marcelo Matus
6b1607a19a
fig bug #1477756 , inline and restrict keywords in C99
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 06:49:52 +00:00