Removed a Py_None from cwrap.c.
Added SetNoneComparison in lang.cxx, which allows the language module to specify how to determine whether the empty argument was given for the 'self' pointer. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e68a21f46f
commit
87bf632747
4 changed files with 24 additions and 5 deletions
|
|
@ -209,6 +209,8 @@ public:
|
|||
/* Return true if directors are enabled */
|
||||
int directorsEnabled() const;
|
||||
|
||||
/* Set none comparison string */
|
||||
void SetNoneComparison( String *s );
|
||||
|
||||
protected:
|
||||
/* Patch C++ pass-by-value */
|
||||
|
|
@ -241,6 +243,7 @@ public:
|
|||
private:
|
||||
Hash *symbols;
|
||||
Hash *classtypes;
|
||||
String *none_comparison;
|
||||
int overloading;
|
||||
int multiinput;
|
||||
int directors;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue