diff options
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ VALUE rb_str_to_str _((VALUE)); VALUE rb_string_value _((volatile VALUE*)); char *rb_string_value_ptr _((volatile VALUE*)); -#define StringValue(v) if (TYPE(v) != T_STRING) rb_string_value(&(v)) +#define StringValue(v) rb_string_value(&(v)) #define StringValuePtr(v) rb_string_value_ptr(&(v)) void rb_check_safe_obj _((VALUE)); |