mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
replace GET_THREAD()->ec
to GET_EC()
.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d77305fc9c
commit
f56288d7a8
10 changed files with 20 additions and 20 deletions
4
safe.c
4
safe.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue