Commit graph

5 commits

Author SHA1 Message Date
Olly Betts
09d06843d1 Fix PHP sync example
Mostly it was missing `%include <std_string.i>`
2021-04-19 11:26:32 +12:00
Olly Betts
a49cc60772 Adjust PHP sync example
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.
2021-04-18 10:00:34 +12:00
William S Fulton
f39ed94419 Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type 2014-05-24 13:13:32 +01:00
William S Fulton
e9867c661a warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:20:54 +00:00
William S Fulton
4c03864ce9 rename php4 to php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-22 12:35:27 +00:00
Renamed from Examples/php4/sync/example.cxx (Browse further)