Logan Johnson
8f7e15900e
Omit unused parameter names for C++ code only; this is illegal in C.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-09 23:08:54 +00:00
Logan Johnson
acbb784a50
Be sure to initialize all of the fields of a PyMethodDef struct to some
...
value, to avoid numerous compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-06 17:46:50 +00:00
Marcelo Matus
81a30d97f9
cosmetic fix to avoid warnings in the generated code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:47:19 +00:00
Marcelo Matus
3fdd06e3bd
fix memory leak with director and NewPointerObjects
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-26 10:20:06 +00:00
Marcelo Matus
8f2056b4d6
add support for 'throw' declarations in director classes and some fixes to compile the primitive_types.i test file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-24 00:25:31 +00:00
William S Fulton
11561b2499
Eric Sunshine patch - Mods to work on NextStep
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00
Marcelo Matus
e9ee50827d
fix the generation of spurious temps, and an exception call
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 01:33:07 +00:00
Marcelo Matus
b44aafbe68
eliminate spurious temporal variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-14 06:46:20 +00:00
Marcelo Matus
2dfcd1a562
fixed repeated file inclusion for dirprot mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:19:48 +00:00
William S Fulton
71e1ac56cc
remove SWIG_exception for director protected methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 23:52:31 +00:00
Marcelo Matus
72984676ca
Lateral change to add runtime "reprotection" at the python
...
side for protected director members.
Lib/python/director.swg: added needed code for runtime checking
Source/Modules/python.cxx: added needed code for runtime checking
director_protected_runme.py: checks now that the runtime protection is working
The extra runtime checking is only done for protected members,
so, the old public directors members don't feel any overhead.
This finished the director protected support for the python language.
Java and Ocalm will need to add the "reprotection" mechanism latter.
But as in the python case, the changes will be localized in the
languages files, and there will be no need to touch the core
files anymore.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-11 01:59:12 +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
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
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
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
William S Fulton
ed5a4bbb63
Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:08:14 +00:00
William S Fulton
d85b463e0b
Common director support functions moved to new file directors.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:39 +00:00
Dave Beazley
2539fdc5fc
Code generation improvements. Order of automatically generated methods is different.
...
Added special variable $action to python code fragments included with feature:shadow.
This expands to the name of the low-level C wrapper function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 17:14:00 +00:00
Dave Beazley
a958fc1be8
[ 829325 ] new Python Module options and features
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:55:38 +00:00
William S Fulton
2704ffe81f
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
...
Numerous symbols in the generated director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:04 +00:00
William S Fulton
89b91e44f0
Director code mods:
...
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:57:16 +00:00
William S Fulton
9da574aae9
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
7ee01311b2
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
a1bc88865c
First round of director mods
...
- Removed asserts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:12:21 +00:00
Mark Rose
ae6a5a8f4e
Directors default to "owned" (python)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:37:37 +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
a2734b3f71
Java directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:15:05 +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
Mark Rose
9b9680f3ac
multiargument director typemap segfault fix (python)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-26 09:46:32 +00:00
William S Fulton
1258f2e703
Matched the text for warnings 462 and 463 to that shown in the docs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:53:38 +00:00
Logan Johnson
bb521ec9b2
Renamed Language::SetNoneComparison() to setSubclassInstanceCheck(),
...
because that name better reflects what the function's trying to accomplish
(test whether the object for which the constructor's being called is an
instance of the class, or an instance of one of its subclasses).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:35:52 +00:00
Mark Rose
4b7e5fdffe
Director fixes for operator method names and destructors.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 23:11:53 +00:00
William S Fulton
20184c76e7
Warning tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:14:58 +00:00
Dave Beazley
7f26e39937
Added patch 701860.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
Mark Rose
ebbc33f90b
director method tagging simplification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Mark Rose
7c3af222a3
void director method fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 11:45:59 +00:00
William S Fulton
f162c1b644
compiler warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
Mark Rose
9e8965b07f
partial fix for abstract director classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
Mark Rose
f10ce6cc84
Added SetNoneComparison call to PYTHON::top
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 10:01:30 +00:00
Mark Rose
3f5815cf03
added SWIG_DIRECTORS define under python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:28:00 +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
Dave Beazley
e19c73746d
Enhancement to Swig_require(), Swig_save(), Swig_restore()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +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
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