uniform the name_get/name_set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e8535abc5b
commit
61e61a35ed
4 changed files with 17 additions and 13 deletions
|
|
@ -1473,7 +1473,7 @@ public:
|
|||
setf = NewWrapper();
|
||||
|
||||
/* create getter */
|
||||
getfname = NewString(Swig_name_get(iname));
|
||||
getfname = Swig_name_get(iname);
|
||||
Printv(getf->def, "SWIGINTERN VALUE\n", getfname, "(", NIL);
|
||||
Printf(getf->def, "VALUE self");
|
||||
Printf(getf->def, ") {");
|
||||
|
|
@ -1502,7 +1502,7 @@ public:
|
|||
setfname = NewString("NULL");
|
||||
} else {
|
||||
/* create setter */
|
||||
setfname = NewString(Swig_name_set(iname));
|
||||
setfname = Swig_name_set(iname);
|
||||
Printv(setf->def, "SWIGINTERN VALUE\n", setfname, "(VALUE self, ", NIL);
|
||||
Printf(setf->def, "VALUE _val) {");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue