Improve nullptr constant wrapping
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6d655a7f41
commit
ecac2d2a68
6 changed files with 13 additions and 7 deletions
|
|
@ -1444,7 +1444,7 @@ public:
|
|||
return NewString("True");
|
||||
if (Strcmp(v, "false")==0 || Strcmp(v, "FALSE")==0)
|
||||
return NewString("False");
|
||||
if (Strcmp(v, "NULL")==0)
|
||||
if (Strcmp(v, "NULL")==0 || Strcmp(v, "nullptr")==0)
|
||||
return NewString("None");
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue