diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-22 07:32:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-22 07:32:52 +0000 |
commit | 03813f6dac06ffc24ca04cc308e28d926aed14b4 (patch) | |
tree | aacde63ea2ada5a8bd4328878e062daea8f68422 /vm_core.h | |
parent | 62b8b4df780da2e8d0e14cbdf0b7e324fbda53d3 (diff) |
vm_eval.c: Check_TypedStruct
* vm_eval.c (eval_string_with_cref): check by Check_TypedStruct
instead of rb_obj_is_kind_of.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -688,6 +688,8 @@ typedef struct { rb_block_t block; } rb_env_t; +extern const rb_data_type_t ruby_binding_data_type; + #define GetBindingPtr(obj, ptr) \ GetCoreDataFromValue((obj), rb_binding_t, (ptr)) |