Commit graph

18 commits

Author SHA1 Message Date
Kevin Ruland
6151879eff Print variables from both C and PHP prior to modifications.
Call name_set() with a much shorter argument to make sure
nulls are padded.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:43:12 +00:00
Kevin Ruland
ca173a9285 Change length of name to 5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:41:57 +00:00
Kevin Ruland
c4e5c58015 Change length of name to 5 to make manipulation easier.
Print out the individual characters of name[].
Use Print_point() function in print_vars().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:40:55 +00:00
Kevin Ruland
d7c33db97f Change example so it builds Foo_get() and Foo_set() wrappers. Use these
wrappers in the runme.php4.  Added wrapped method print_Foo() just to make
sure all is working.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:53:44 +00:00
Kevin Ruland
a1c6f31c60 Use named typemaps "REF" in add() function. Corresponds to recent changes
in phppointer.i


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:52:41 +00:00
Kevin Ruland
8ad9d8ace2 Add include.php file and include it using pragma.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 02:33:05 +00:00
Kevin Ruland
c47b13a2bb Change one argument to string to show silent conversion to doubles and
prove no accidental data loss.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:22:26 +00:00
Kevin Ruland
823157dea4 Added a string to the argument list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:20:50 +00:00
Kevin Ruland
9593b659b9 Added an example showing use of %pragmas and init/shutdown code injection.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:19:56 +00:00
Kevin Ruland
663862918d Removed the -xmlout from swig.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 15:50:50 +00:00
Kevin Ruland
ae283adb6c Simple example of DISOWN typemap working correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:56:03 +00:00
Kevin Ruland
501bd53c4b Updated examples to function correctly with new php4 module. Added
some supplemental examples for cpointer, overloading and references using
proxies.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 16:32:41 +00:00
William S Fulton
7022f2091e fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
William S Fulton
cb62b4dd90 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
William S Fulton
47cecb0287 Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:27:23 +00:00
William S Fulton
fb4966a97d Define M_PI if not defined in math.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:29:35 +00:00
William S Fulton
ec6d63f8d6 VC++ pollution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:11:44 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00