diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 14:44:09 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 14:44:09 +0000 |
commit | f56288d7a8b0972a0ceacd359dd0b7438f7540d0 (patch) | |
tree | 483d44cf0a4f826772fde788eb02b61fdd238b13 /safe.c | |
parent | d77305fc9cdf295bee3d6d6148dfc602291ad91f (diff) | |
download | ruby-f56288d7a8b0972a0ceacd359dd0b7438f7540d0.tar.gz |
replace `GET_THREAD()->ec` to `GET_EC()`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'safe.c')
-rw-r--r-- | safe.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,13 +34,13 @@ ruby_safe_level_2_warning(void) int rb_safe_level(void) { - return GET_THREAD()->ec->safe_level; + return GET_EC()->safe_level; } void rb_set_safe_level_force(int safe) { - GET_THREAD()->ec->safe_level = safe; + GET_EC()->safe_level = safe; } void |