Fixed %pythonnondynamic, as discussed on the swig-devel mailing list, message id 26787772
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f24d1b99b1
commit
76e7d01c4e
1 changed files with 2 additions and 2 deletions
|
|
@ -757,9 +757,9 @@ public:
|
|||
#endif
|
||||
tab4, tab8, "return\n", tab4, "method = class_type.__swig_setmethods__.get(name,None)\n", tab4, "if method: return method(self,value)\n",
|
||||
#ifdef USE_THISOWN
|
||||
tab4, "if (not static) or hasattr(self,name) or (name == \"thisown\"):\n",
|
||||
tab4, "if (not static) or (name == \"thisown\"):\n",
|
||||
#else
|
||||
tab4, "if (not static) or hasattr(self,name):\n",
|
||||
tab4, "if (not static):\n",
|
||||
#endif
|
||||
tab4, tab4, "self.__dict__[name] = value\n",
|
||||
tab4, "else:\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue