Issue #11749 has been reported by Eric Wong.

----------------------------------------
Feature #11749: [PATCH] variable.c:  remove spurious #define for globals
https://bugs.ruby-lang.org/issues/11749

* Author: Eric Wong
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
variable.c: remove spurious #define for globals

Removing the indirection helps me with readability, at
least.  It doesn't seem like there are many other places
in the Ruby code where macros are used like this.


@nobu: They appeared in r19781 when the *_{getter,setter,marker}
methods were made public, presumably to minimize the size of the
diff.

Will commit in a week or so unless there are objections.


---Files--------------------------------
0001-variable.c-remove-spurious-define-for-globals.patch (10.2 KB)


-- 
https://bugs.ruby-lang.org/