mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use the prefixed macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
797fb39f1e
commit
8f6b3ef184
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ void rb_check_frozen(VALUE);
|
|||
void rb_check_trusted(VALUE);
|
||||
#define rb_check_frozen_internal(obj) do { \
|
||||
VALUE frozen_obj = (obj); \
|
||||
if (OBJ_FROZEN(frozen_obj)) { \
|
||||
if (RB_OBJ_FROZEN(frozen_obj)) { \
|
||||
rb_error_frozen_object(frozen_obj); \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
Loading…
Reference in a new issue