calling Swig_name_setget
This commit is contained in:
parent
7b7e5b0012
commit
5f865bdc7e
1 changed files with 5 additions and 2 deletions
|
|
@ -1888,8 +1888,11 @@ int R::functionWrapper(Node *n) {
|
|||
|
||||
bool isSet(GetFlag(n, "memberset"));
|
||||
|
||||
String *tmp = NewString("");
|
||||
Printf(tmp, "%s_%s", class_name, isSet ? "set" : "get");
|
||||
String *tmp = NewString(isSet ? Swig_name_set(NSPACE_TODO, class_name) : Swig_name_get(NSPACE_TODO, class_name));
|
||||
|
||||
if (debugMode) {
|
||||
Printf(stdout, "functionWrapper TMP: %s\n", tmp);
|
||||
}
|
||||
|
||||
List *memList = Getattr(ClassMemberTable, tmp);
|
||||
if(!memList) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue