William S Fulton
afda89dc49
Mark Gossage patch 1295168
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 19:35:23 +00:00
Kevin Ruland
92c5d2a22b
Fix error message in %typemap(in) SWIGTYPE*.
...
Change handling of char[ANY] out. Now return null padding.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:50:16 +00:00
Kevin Ruland
b35cc31dd1
Change handling of char[ANY] output typemaps, have it return the null
...
padding and use t_output_helper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:44:56 +00:00
Kevin Ruland
91a076f516
Convert PHP nulls into NULL pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:44:11 +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
455035e04e
In create_simple_make(), use CXX to link the extension module when
...
either -c++ or -withcxx is used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:55:23 +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
William S Fulton
20f6f843a8
fix symbol clash on windows for ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-19 08:52:32 +00:00
William S Fulton
61af5b436f
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/SWIG@7458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-18 22:07:16 +00:00
Kevin Ruland
a93bf86070
Update to documentation to cover new features and additions to php module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:26:27 +00:00
Kevin Ruland
cfb985d925
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/SWIG@7456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:25:49 +00:00
Kevin Ruland
9c1a6a85f3
Switch typechecks for simple data types to allow conversion.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:24: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
1935c2d69d
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/SWIG@7451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:18:15 +00:00
Marcelo Matus
938b799365
CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:44:06 +00:00
Marcelo Matus
eef3f9169d
fix example max macro/template and external max macro conflicts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:35:38 +00:00
Marcelo Matus
285ecebd14
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/SWIG@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +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
Surendra Singhi
e9e0e0bb51
Added links to Lisp and Lua support.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:34:05 +00:00
Surendra Singhi
43dca699e1
Initial revision. Something about UFFI and AllegroCL, has to be written.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:33:09 +00:00
Surendra Singhi
34e19845db
Update my personal info.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:26 +00:00
Surendra Singhi
7d6a223b7d
Changed the chapter number from 30 to 31.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:12 +00:00
Surendra Singhi
8aa2c9d0d3
Added chapter for Common Lisp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:26:35 +00:00
William S Fulton
f54eeee5f3
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/SWIG@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
Marcelo Matus
485ee19139
add missing directorin typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:38:46 +00:00
Marcelo Matus
be51f8389d
add missing directorin typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:36:57 +00:00
William S Fulton
dec7f07eb1
jweak cast fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:03:01 +00:00
William S Fulton
5b2e9e54ca
test directors with classes passed by value, ref and pointer
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:02:21 +00:00
Marcelo Matus
cc61850448
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/SWIG@7435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 23:25:03 +00:00
William S Fulton
be0ceeaeb5
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/SWIG@7434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:48:14 +00:00
William S Fulton
ef0eb857fd
Lua fixes to work on Unix as well as windows.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:14:37 +00:00
William S Fulton
e8c4b5d45f
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/SWIG@7432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:13:34 +00:00
William S Fulton
8540ea2785
patch 1272995 from Charlie Savage - more disown support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 22:12:56 +00:00
William S Fulton
a586874114
fixes for problems reported by htmldoc and tidy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 20:00:39 +00:00
Marcelo Matus
635677c450
add module option to import
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
1c6a2a2cfb
fix incomplete module name replacement when using the -module flag #1282637
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
2557f80bba
fix incomplete module name replacement when using the -module flag #1282637
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
William S Fulton
bd470c2e61
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/SWIG@7426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 00:45:36 +00:00
William S Fulton
538f428a3d
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:46:51 +00:00
William S Fulton
b939d0ed91
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/SWIG@7424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:40:11 +00:00
William S Fulton
ee4450aaf2
function comments added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:37:56 +00:00
Marcelo Matus
31a8148e51
cosmetic and docs changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:28:36 +00:00
Marcelo Matus
1a359fc4e5
update docs about private/protected class/members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 21:12:35 +00:00
Marcelo Matus
0401d64483
fix clientdata initialization, error detected when converter is null (protected classes)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 20:16:38 +00:00