Olly Betts
950473d77e
[php] Whitespace improvements in generated C/C++ code
2019-02-12 10:14:25 +13:00
Olly Betts
1169874f59
[PHP] Add support for PHP7.
...
PHP5's C extension API has changed substantially so you need to use
-php7 to specify you want PHP7 compatible wrappers.
Fixes https://github.com/swig/swig/issues/571
2016-11-30 13:05:59 +13:00
William S Fulton
08a98437d0
Fix redundant NULL check in php typemaps
...
Fix for clang compile error as the address of an array will never be NULL.
2016-10-15 17:58:21 +01:00
William S Fulton
3efd3affbd
Add c++11 strongly typed enum support for PHP
2014-11-27 19:59:20 +00:00
Olly Betts
fcf8180751
Whitespace tweaks
2014-02-17 16:27:39 +13:00
Olly Betts
7af8b13ef7
Just call strcmp() rather than strlen() twice plus zend_binary_strcmp()
2014-02-17 16:25:29 +13:00
William S Fulton
d3769a1fd4
Add rvalue reference typemaps
2013-01-24 20:27:28 +00:00
Olly Betts
b36ae8aaf4
Attach the swig_php_init_member_ptr fragment to all the typemaps which need it.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-25 01:48:33 +00:00
William S Fulton
b946430c8a
Remove potential symbol clash with wrapped code (php)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-24 19:33:21 +00:00
Olly Betts
0d7863c810
Wrapping pointer to member function types is likely to be rare, so use
...
%fragment to only pull in the required machinery if it is going to be
used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-24 14:16:16 +00:00
Olly Betts
c7a6e3dad4
Fix // comments to /* */ in typemaps which should be usable from C code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 02:34:25 +00:00
William S Fulton
4308dd03cf
SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:26:02 +00:00
Olly Betts
67bbac4872
Add PHP typemaps for pointer to method.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-03 12:59:59 +00:00
Olly Betts
0f0c13204e
Fix non-standard indentation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-10-01 05:28:45 +00:00
Olly Betts
7dfd9aae31
WARN_* constants are user visible, so keep existing WARN_PHP4_* for
...
backward compatibility, but add preferred forms WARN_PHP_* and use
these ourselves.
Rename Lib/php4 to Lib/php, Source/Modules/php4.cxx to Source/Modules/php.cxx.
Add typemaps for const reference so Examples/test-suite/apply_signed_char.i
works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:09:56 +00:00