Commit graph

23 commits

Author SHA1 Message Date
William S Fulton
ba4801ddb4 Use preinst-swig instead of swig so SWIG_LIB does not need to be set
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:48:49 +00:00
Kevin Ruland
5bc93c9e6a Added prototypes to all functions in example.c. Fixed segv on x86_64 machines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 02:56:51 +00:00
William S Fulton
fb2733b14e Remove non-existent example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 23:54:59 +00:00
Kevin Ruland
f32ae9abbe Created Makefiles which do both make check and make clean correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 02:36:16 +00:00
William S Fulton
3824ff204c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 10:05:33 +00:00
Kevin Ruland
9cd0336266 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/SWIG@7466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:43:12 +00:00
Kevin Ruland
2a8891e6a0 Change length of name to 5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:41:57 +00:00
Kevin Ruland
798499eff7 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/SWIG@7464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:40:55 +00:00
Kevin Ruland
24442fb756 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/SWIG@7462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:53:44 +00:00
Kevin Ruland
e1145cb383 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/SWIG@7461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:52:41 +00:00
Kevin Ruland
bd694705d0 Add include.php file and include it using pragma.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 02:33:05 +00:00
Kevin Ruland
e40a114246 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/SWIG@7454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:22:26 +00:00
Kevin Ruland
1ea3104707 Added a string to the argument list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:20:50 +00:00
Kevin Ruland
ce5e38367c Added an example showing use of %pragmas and init/shutdown code injection.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:19:56 +00:00
Kevin Ruland
3083a9fe90 Removed the -xmlout from swig.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 15:50:50 +00:00
Kevin Ruland
595ecd02ea Simple example of DISOWN typemap working correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:56:03 +00:00
Kevin Ruland
522ab32693 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/SWIG@7391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 16:32:41 +00:00
William S Fulton
c47c930f59 fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
William S Fulton
db374a14f4 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
William S Fulton
7381bddd84 Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:27:23 +00:00
William S Fulton
91578e4033 Define M_PI if not defined in math.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:29:35 +00:00
William S Fulton
b6c618447c VC++ pollution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:11:44 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00