| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It's now only generated if something to put in it is specified via:
%pragma(php) include=...
or
%pragma(php) code=...
|
|
|
|
| |
Mostly it was missing `%include <std_string.i>`
|
|
|
|
|
|
|
|
| |
Make it work with how globals are actually wrapped. It looks like
this example has never been right, but nobody noticed before PHP 8
started warning about the use of unset variables.
This reveals that handling of std::string properties needs fixing.
|
| |
|
| |
|
|
|
|
|
| |
The function pointers are wrapped as resources not "swig style string
pointers".
|
| |
|
|
|
|
|
| |
PSR-12 says "The closing ?> tag MUST be omitted from files containing
only PHP".
|
|
|
|
| |
Was not working for out of source builds
|
|
|
|
| |
. is not always in the include_path by default
|
|
|
|
|
|
|
| |
This generates a warning with PHP 7.3 which apparently will become
an error in the future. We're just checking that a constant that
should not be define indeed isn't, which we can achieve more
cleanly using get_defined_constants() instead.
|
|
|
| |
found via `codespell` and `grep`
|
| |
|
| |
|
|
|
|
|
| |
Pragma version to specify versions for PHP5 and PHP7 extensions.
See issue #360.
|
|
|
|
|
|
| |
The machinery these targets need to work no longer exists, and as
far as I can make out was removed before the code was put under
version control.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Complete the prototype removal in ca1431.
The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.
Add support for SWIGTOOL in all the examples.
SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
See issue #473.
|
| |
|
| |
|
| |
|
|
|
|
| |
-Wreturn-type
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Examples/Makefile.in rules use SRCDIR as the relative source directory
- ./config.status replicates Examples/ source directory tree in build
directory, and copies each Makefile to build directory, prefixed with
a header which sets SRCDIR to source directory
- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir
- Examples/test-suite/errors/Makefile.in needs to filter out source
directory from SWIG error messages
- Lua: embedded interpreters are passed location of run-time test
- Python: copy run-time scripts to build directory because of 2to3
conversion; import_packages example copies __init__.py from source
directory; test-suite sets SCRIPTDIR to location of run-time tests
- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
can be substituted with SRCDIR; removed './' from require() statements
so that NODE_PATH can be used to point Node.js to build directory
|
| |
|
| |
|
|
|
|
|
| |
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
|
|
|
|
| |
Declaration and definition of the add function were different
|
| |
|
|
|
|
| |
With this, all examples work with PHP 5.5 for me.
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
|
|
|
| |
too much work to test a global renaming.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
| |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|
|
|
|
|
|
| |
modern wrapping features.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|