Logan Johnson
97f6d6a50d
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 18:49:26 +00:00
Logan Johnson
91a3f9fc4f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 18:39:19 +00:00
Logan Johnson
1d86fe950b
Fixed RUBY::create_command() so that we never define an instance method
...
by calling rb_define_protected_method(), even if the corresponding C++
member function is declared protected. The "protected" access modifier
has different interpretations in C++ and Ruby, and this was causing the
using_protected runtime test for Ruby to break.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 18:11:26 +00:00
Dave Beazley
b4a8805a9f
Added test case just to check a few things with protected/private virtual methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 17:50:29 +00:00
Sam Liddicott
02b68156cd
Add patch from Blair Zajac to use php-config where available to find php include directories.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 13:13:42 +00:00
Dave Beazley
ffe434c22f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 12:44:49 +00:00
Marcelo Matus
ae75ec65dd
emitting and testing protected methods for director protected members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 10:38:34 +00:00
Marcelo Matus
833b2f7f0a
detecting polymorphic virtual methods properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 10:36:15 +00:00
Marcelo Matus
634b973f31
The dirprot feature is now disabled by default. Added dirprot option and ruby runtime examples.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 02:52:08 +00:00
Art Yerkes
65a0e91dc2
value_wrapper -> valuewrapper. My test suite depends on the module name
...
matching the file name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 02:06:57 +00:00
Marcelo Matus
4507660097
setting the dirprot support to 0 in the meantime, can be set back with -dirprot
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 23:42:37 +00:00
Marcelo Matus
93dd1e228e
fix problem with protected members, and add some of them to the test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 22:50:46 +00:00
Marcelo Matus
26e9014fc9
preventing generation of director protected members for languages with no director support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 22:21:11 +00:00
Marcelo Matus
7b69dddba0
director protected support cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 21:56:14 +00:00
William S Fulton
7ffb2f2a8b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 21:32:15 +00:00
William S Fulton
05b947216a
Multiple inheritance workarounds for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 21:31:05 +00:00
Dave Beazley
09d0af6fea
Added pack/unpack functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 18:07:36 +00:00
Dave Beazley
88d56f7d9a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 15:24:50 +00:00
Dave Beazley
9e98fd1252
Fixed bus error. Removed inline functions. Minor cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 15:24:39 +00:00
Marcelo Matus
bfb6f23c72
More director changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 02:18:12 +00:00
Marcelo Matus
bbde8dafa9
Moving the director protected member support to the top level. Now it should works in all the languages. Test it.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 23:00:02 +00:00
Marcelo Matus
825058f7e5
Moved director+protected members test to BROKEN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 04:07:46 +00:00
William S Fulton
f8693e6f5a
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 01:07:48 +00:00
William S Fulton
d95a07f486
Warning fix for Visual C++. const is incorrectly being defined away to nothing.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 00:29:00 +00:00
William S Fulton
e1fd92428f
Added STRING_OUT typemap test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:03:30 +00:00
William S Fulton
f31537e62d
Put STRING_OUT typemaps back in.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:02:03 +00:00
Marcelo Matus
7e7da85e84
Added help for -nodirprot flag
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 22:51:54 +00:00
Marcelo Matus
732f69101e
Fixed swapped arguments in is_member_director
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 22:36:55 +00:00
Art Yerkes
3cfd2c7fee
String from ptr example. Demonstrates use of out typemap and handling of
...
return value with argout.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 22:59:42 +00:00
Art Yerkes
4639f09df5
Added string-from-ptr example.
...
-- Response to a question asked by Thaddeus L. Olczyk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 22:58:56 +00:00
Dave Beazley
ac0be15578
Restored patch that added "classtypeobj" attribute.
...
Guys..... please be careful when committing. I added this patch a couple of days
ago and now it's suddenly gone. What's the deal? Did someone commit an old version
of lang.cxx on top of this patch?
-- Dave
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 18:50:16 +00:00
Marcelo Matus
d52d165d6f
Force the generation of director methods even when -fvirtual is used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 08:58:26 +00:00
Marcelo Matus
ad8819f01e
Check the protected constructor case. They don't get into the director.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 06:08:54 +00:00
Marcelo Matus
0f19564193
Fixes to support protected members with director, proper virtual member recognition and support of the nodirector feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 01:59:28 +00:00
Dave Beazley
94fa335b14
mzscheme patch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 21:28:01 +00:00
Dave Beazley
c7de9fa2a3
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:24:40 +00:00
Dave Beazley
9297f1b229
Fixed configure bug
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:15:07 +00:00
Dave Beazley
7ccecdc4be
Configure bugs with perl. Removed runtime build by default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:14:44 +00:00
Dave Beazley
748462bb3e
Fixed perl5.005 problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:14:14 +00:00
Art Yerkes
b2fa1eab8b
Added checklist entry and corrected warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:59:49 +00:00
Art Yerkes
35e21e1c68
This example both shows the new enum literal facility, and is a regression
...
test against the enum scoping problem I had.
Ocaml.cxx: Accidentally reintroduced the enum scoping problem, so I added
an example that will fail if this is ever broken again.
I encountered the actual problem in avifile.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:57:57 +00:00
Art Yerkes
e0dca0ec65
shapes example: slight correction to depth map.
...
makedebugtop: include swig.cmo
Lib: factored out more common code, slightly reorganized class type.
added director define and exceptions.
std_string: length from the original ocaml string (no longer depends on
null termination)
ocamldec.swg/ocaml.swg: added caml_string_len
Examples/Makefile.in: quiet about checking out files.
Ocaml.cxx:
Fixed abstract director test case.
Include/exclude director.swg based on directors being enabled.
Final edits for 1.3.20, barring bugs being discovered.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:15:07 +00:00
William S Fulton
a01d61dc64
Update and further differences to the Java documentation added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 21:50:38 +00:00
Dave Beazley
0a0bdd880b
mzscheme tweaks.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 20:29:30 +00:00
Dave Beazley
a453a7486e
mzscheme tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 20:29:11 +00:00
Dave Beazley
e868cd6d42
Added OS X tweaks for guile. Note: some guile examples don't use this makefile and remain broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 18:10:45 +00:00
Dave Beazley
39b6c3632c
Guile configuration changes for OS X. Compilation of guile wrappers currently generates a *LOT* of
...
warning messages of the form:
warning: invalid conversion from `
scm_unused_struct*(*)()' to `scm_unused_struct*(*)(...)'
I've messed around with it and haven't been able silence the warning from any combination of macros, casts,
helper functions, compiler flags, linkage directives, or other tricks. Possible gcc-3.3 bug????
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 18:10:07 +00:00
Luigi Ballabio
a07b071331
Fixed problem with std::vector<unsigned int>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 08:23:00 +00:00
Dave Beazley
6bb8329541
Fixed some Tcl issues on OSX
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 05:13:12 +00:00
Dave Beazley
c90ffb71e5
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 05:12:51 +00:00