Project

General

Profile

Actions

Feature #11749

closed

[PATCH] variable.c: remove spurious #define for globals

Added by normalperson (Eric Wong) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:71728]

Description

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 (Nobuyoshi Nakada): 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

Actions

Also available in: Atom PDF