Commit graph

4,292 commits

Author SHA1 Message Date
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
William S Fulton
b7ac7389ae fix symbol clash on windows for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-19 08:52:32 +00:00
William S Fulton
5cb5a3e573 Undo formatting mods from earlier commit which messed up the table of contents generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-18 22:07:16 +00:00
Kevin Ruland
698a0a88cb Update to documentation to cover new features and additions to php module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:26:27 +00:00
Kevin Ruland
33374d9ad4 Change typemap to use variable name REF.
Added additional typemaps for other simple types (integers, doubles, strings).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:25:49 +00:00
Kevin Ruland
b9b43734d3 Switch typechecks for simple data types to allow conversion.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:24: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
9b48816f68 Fix test cases to always use intp wrappers. This is required because of changes
to the default handling of pointer and references to basic types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:18:15 +00:00
Marcelo Matus
a513db7bf4 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:44:06 +00:00
Marcelo Matus
e4f17f50aa fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:35:38 +00:00
Marcelo Matus
798a3c370c Add -nocppcast. Now the default is to use the cppcast operator. If this seems to break your code... your welcome\!, it means it was broken before and you never notice. Use -nocppcast only for very old C++ compilers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +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
Surendra Singhi
a0b7ef540a Added links to Lisp and Lua support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:34:05 +00:00
Surendra Singhi
e9950cb980 Initial revision. Something about UFFI and AllegroCL, has to be written.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:33:09 +00:00
Surendra Singhi
141864071e Update my personal info.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:26 +00:00
Surendra Singhi
db0072522e Changed the chapter number from 30 to 31.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:12 +00:00
Surendra Singhi
2185066d14 Added chapter for Common Lisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:26:35 +00:00
William S Fulton
fea5471cf7 unsigned long long director fixes (bug 1238798)
Also missing cvs commit for director fixes for SWIGTYPE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
Marcelo Matus
05ceecefc4 add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:38:46 +00:00
Marcelo Matus
474752667e add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:36:57 +00:00
William S Fulton
99e307ee6e jweak cast fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:03:01 +00:00
William S Fulton
0e29d8f8a6 test directors with classes passed by value, ref and pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:02:21 +00:00
Marcelo Matus
d61a776308 avoid swig_types of length 0, and allow to iterate over the array, for Lua mainly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 23:25:03 +00:00
William S Fulton
a752866adc Attempt to detect if Lua is configured for dynamic library loading. Not quite working yet though.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:48:14 +00:00
William S Fulton
b93b3593bf Lua fixes to work on Unix as well as windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:14:37 +00:00
William S Fulton
dfaaa959a6 make the php test suite consistent with the other languages, there is no need to generate an 'ok' message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:13:34 +00:00
William S Fulton
bdb8e46f4d patch 1272995 from Charlie Savage - more disown support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 22:12:56 +00:00
William S Fulton
64c4e71c84 fixes for problems reported by htmldoc and tidy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 20:00:39 +00:00
Marcelo Matus
6b5a64bd92 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
5bd59b2a47 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
4c86e9f590 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
William S Fulton
9b2db3858f Patch from Charles Savage:
Adding a new Memory Management section at the end.
This section discusses memory management issues,
including the use of %newobject, the DISOWN type map,
Ruby's mark and sweep garbage collector, etc. I also
ran a spell-check on the file and updated the table of
contents.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 00:45:36 +00:00
William S Fulton
5182c4b7ce *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:46:51 +00:00
William S Fulton
dbc1c53d7b Remove attached typemaps after a variable set wrapper has been generated so that the get method doesn't pick up any incorrect typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:40:11 +00:00
William S Fulton
f94e5e4870 function comments added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:37:56 +00:00
Marcelo Matus
60913495ba cosmetic and docs changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:28:36 +00:00
Marcelo Matus
2d7540f33c update docs about private/protected class/members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 21:12:35 +00:00
Marcelo Matus
087a208c3c fix clientdata initialization, error detected when converter is null (protected classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 20:16:38 +00:00
Marcelo Matus
6d39fe1341 add char* string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-09 17:58:43 +00:00
William S Fulton
7e2154ed19 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:37:43 +00:00
William S Fulton
1e86fe52c3 minor typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:35:37 +00:00
William S Fulton
6247abbd01 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
Kevin Ruland
b4c945a488 Added a fourth argument (flags) to all calls to SWIG_ConvertPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:06:22 +00:00
Kevin Ruland
d908e688ef Added typemap for SWIGTYPE *DISOWN.
Changed all the calls to SWIG_ConvertPtr to pass a fourth argument of 0.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:06:03 +00:00
Kevin Ruland
3965256ffb Removed the old cptr mangling method SWIG_ConvertPtr_.
Added support for DISOWN typemaps by adding a flag to SWIG_ConvertPtr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:04:55 +00:00
Kevin Ruland
3cb7d700c0 Removed the mangled name test. Names are mangled differently and are not
available to php.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:57:32 +00:00