William S Fulton
c00aaf0f5b
Moved non static function declarations from source files into header files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:48:39 +00:00
Dave Beazley
d923c738f8
Suppress warning 321 by default.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 03:43:51 +00:00
William S Fulton
e7d72724aa
-dirprot display order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:16:08 +00:00
Marcelo Matus
8abe741cdc
swig -DSWIG_ALLKW was too ugly. Use -Wallkw instead. Reverting swig.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:12:29 +00:00
Marcelo Matus
c41374becc
%rename(x) Foo::y();
...
%inline %{
class Foo {
protected:
void x();
public:
void y();
};
%}
will work in plain or plain director mode, but it will complain the
same as before with director protected support.
The reason is that the parser emmits the warning, and at that stage it
is not possible to decide if the protected Foo::x() could or not
conflict with the renamed Foo::y(), since Foo::x() could be virtual,
even when no "virtual" attribute is used.
Core:
parser.y: Detect the dirprot mode and prevents the generation of
protected symbols at the parsing stage.
lang.cxx: Export the director_protected_mode for parser.y and the
director protected member detection is much cleaner.
main.cxx: Fix the -dirprot flag, it was working in SWIG_FEATURE but
not in the command line.(minor thing not relate to the error).
swigmod.h: added Lang::dirprot_mode() for cleaner detection.
utils.cxx: is_member_director() centralizes and improve the test.
Test suite:
protected_rename.i: added %inline, so it can compile now.
director_protected.i: more cases, checking using %rename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-10 23:10:31 +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
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
Dave Beazley
12882895d3
New option: -runtime
...
Changed -c option to -noruntime. -c still works, but a warning is issued.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:37 +00:00
Dave Beazley
72f738909e
Contract checking now turned on by default. Some other cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:17:52 +00:00
Dave Beazley
62c35e3579
Removed contract code from swigmod.h. Violates intended modularity of this file.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-09 15:57:54 +00:00
Dave Beazley
8ae4c60d39
Major refactoring of DOH List/Hash iterators. See CHANGES
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
William S Fulton
a3121fad6c
-E added to options displayed with -help
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 19:55:05 +00:00
Dave Beazley
d6c234a761
Fixed [ 797576 ] -help seems to imply that only tcl-specific options exist
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:21:40 +00:00
William S Fulton
6c71e9d478
-outdir commandline option support => directory for proxy class and other language specific files
...
-help tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
Tiger Feng
e0b67e7b60
wrap by contract work
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:29:11 +00:00
Tiger Feng
0ad9c70442
wrap by contract work
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:18:44 +00:00
Tiger Feng
de0ac1f10b
Experimental contract work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 17:43:05 +00:00
William S Fulton
c3a17e73b9
'swig -version' prints target platform after compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 14:09:55 +00:00
Dave Beazley
1aefd191bf
Memory diagnostics. Huge memory leak cleanup related to templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
Mark Rose
01c38825d4
changed -fdirectors option to %module option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +00:00
Mark Rose
c47494cb7a
polymorphism patch merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
William S Fulton
6116a681bc
gcc -Wall warnings fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 23:29:53 +00:00
William S Fulton
8c6cc355cb
Whoops undo last checkin which just had some experimentation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:29:02 +00:00
William S Fulton
a7c44bb3b3
CSharp added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:27:25 +00:00
Tiger Feng
b4934f5b70
-fcompact
...
-fvirtual
-small
SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:57 +00:00
Tiger Feng
3c24839e26
Added -compact option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 17:13:02 +00:00
William S Fulton
99af068243
Simplification of version string. Use autoconf's PACKAGE_VERSION instead.
...
Fixed subtle bug where 'make prefix=/somewhere; make clean; make prefix=/somwhere/else' produced an executable using the incorrect library directories.
Bug fix in reporting compiler used to compile SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:36:03 +00:00
Dave Beazley
74a3aa015c
File move
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00