Added help for -nodirprot flag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bb18c2d880
commit
6dbeba36af
1 changed files with 1 additions and 2 deletions
|
|
@ -14,7 +14,6 @@ char cvsroot_python_cxx[] = "$Header$";
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
|
||||||
#ifndef MACSWIG
|
#ifndef MACSWIG
|
||||||
#include "swigconfig.h"
|
#include "swigconfig.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -68,6 +67,7 @@ Python Options (available with -python)\n\
|
||||||
-apply - Use apply() in proxy classes\n\
|
-apply - Use apply() in proxy classes\n\
|
||||||
-new_repr - Use more informative version of __repr__ in proxy classes\n\
|
-new_repr - Use more informative version of __repr__ in proxy classes\n\
|
||||||
-noexcept - No automatic exception handling\n\
|
-noexcept - No automatic exception handling\n\
|
||||||
|
-nodirprot - Don't wrap director protected members\n\
|
||||||
-noproxy - Don't generate proxy classes \n\n";
|
-noproxy - Don't generate proxy classes \n\n";
|
||||||
|
|
||||||
extern void Wrapper_director_protected_mode_set(int);
|
extern void Wrapper_director_protected_mode_set(int);
|
||||||
|
|
@ -1312,7 +1312,6 @@ public:
|
||||||
/* declare Python return value */
|
/* declare Python return value */
|
||||||
Wrapper_add_local(w, "result", "PyObject *result");
|
Wrapper_add_local(w, "result", "PyObject *result");
|
||||||
|
|
||||||
|
|
||||||
/* direct call to superclass if _up is set */
|
/* direct call to superclass if _up is set */
|
||||||
if (is_protected(n)) {
|
if (is_protected(n)) {
|
||||||
Printf(w->code, "PyObject *obj = PyObject_GetAttrString(swig_get_self(), \"%s\");\n",
|
Printf(w->code, "PyObject *obj = PyObject_GetAttrString(swig_get_self(), \"%s\");\n",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue