Move new macros for Ruby to their dedicated namespace

This commit is contained in:
Thomas Reitmayr 2020-01-03 21:45:53 +01:00
commit 5542cc228a
3 changed files with 11 additions and 7 deletions

View file

@ -2274,7 +2274,7 @@ public:
if (CPlusPlus) {
Insert(getfname, 0, "VALUEFUNC(");
Append(getfname, ")");
Insert(setfname, 0, (use_virtual_var) ? "VOID_ANYARGS_FUNC(" : "VALUEFUNC(");
Insert(setfname, 0, (use_virtual_var) ? "SWIG_RUBY_VOID_ANYARGS_FUNC(" : "VALUEFUNC(");
Append(setfname, ")");
}