summaryrefslogtreecommitdiff
path: root/Examples/php
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused std_string.i from callback examplesWilliam S Fulton2015-05-101-2/+0
|
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-11/+3
|
* Remove bogus ; after } in examplesOlly Betts2014-11-073-11/+11
|
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-246-11/+11
| | | | -Wreturn-type
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1117-68/+68
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-162-2/+2
|
* Further cleaning up of class examplesOlly Betts2014-02-241-1/+0
|
* Improve the class example for several languages.Olly Betts2014-02-233-29/+14
| | | | | Fix numerous inaccuracies in index.html (where it exists) and eliminate unnecessary differences between the example code being wrapped.
* Fix crash in php exampleWilliam S Fulton2014-02-151-1/+1
| | | | Declaration and definition of the add function were different
* Remove executable bit from various test-suite runme filesOlly Betts2014-01-062-0/+0
|
* Fix Examples/php/pointer to work with PHP 5.5Miklos Vajna2013-12-121-1/+1
| | | | With this, all examples work with PHP 5.5 for me.
* Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-181-1/+1
|
* PHP examples makefiles clean target fixed and use RUNPIPE and tidyupWilliam S Fulton2013-04-1917-119/+102
|
* Update lingering configure.in references to say configure.acOlly Betts2013-03-211-1/+1
|
* Make php example C90 compliantWilliam S Fulton2012-12-153-5/+14
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove runtime warnings in overloading php exampleWilliam S Fulton2011-02-011-4/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* [PHP] Fix handling of OUTPUT typemaps (Patch from Ryan in SF#3058394).Olly Betts2010-09-081-12/+14
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove PHP4 hangoverOlly Betts2010-06-011-80/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove PHP4 hangover.Olly Betts2010-06-011-79/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix to work with PHP5 wrappersOlly Betts2010-05-251-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix to work with PHP5 wrappers.Olly Betts2010-05-251-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix to work with PHP5 wrappersOlly Betts2010-05-251-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix typo in literal string.Olly Betts2009-12-151-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add callback and extend; fix error in alphabetical ordering.Olly Betts2009-08-171-1/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Rename back - William wants this consistent across all the languages and it'sOlly Betts2009-08-176-0/+0
| | | | | | | 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
* Explain the poor name.Olly Betts2009-08-171-1/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove bogus stuff about memory leaks - nothing in this testcase leaks.Olly Betts2009-08-172-36/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Rename the "extend" example to "directors" as it tests directors not %extend.Olly Betts2009-08-176-0/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Convert to use proxy classes.Olly Betts2009-08-175-28/+25
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* [PHP] Update the PHP "class" example to work with PHP5 and useOlly Betts2009-08-142-22/+18
| | | | | | | modern wrapping features. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Merge https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-vmiklos/Miklos Vajna2009-07-2212-0/+319
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* warning fixesWilliam S Fulton2008-12-241-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* warning fixesWilliam S Fulton2008-12-242-10/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove last vestiges of php4 and encourage use of -php rather than -php5William S Fulton2008-12-061-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* modify build system to use php instead of php4William S Fulton2008-12-0630-75/+75
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* rename php4 to phpWilliam S Fulton2008-11-2272-0/+2249
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22