diff --git a/ChangeLog b/ChangeLog index b9ae779234..ef67232b3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 3 12:40:54 2010 Nobuyoshi Nakada + + * intern.h (rb_usascii_str_new): macros for forward compatibility. + Tue Aug 31 17:32:34 2010 Hidetoshi NAGAI * ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling diff --git a/intern.h b/intern.h index d84d02110e..db49fa7d4e 100644 --- a/intern.h +++ b/intern.h @@ -450,6 +450,9 @@ VALUE rb_str_tmp_new _((long)); VALUE rb_str_buf_append _((VALUE, VALUE)); VALUE rb_str_buf_cat _((VALUE, const char*, long)); VALUE rb_str_buf_cat2 _((VALUE, const char*)); +#define rb_usascii_str_new rb_str_new +#define rb_usascii_str_new_cstr rb_str_new_cstr +#define rb_usascii_str_new2 rb_str_new2 VALUE rb_obj_as_string _((VALUE)); VALUE rb_check_string_type _((VALUE)); VALUE rb_str_dup _((VALUE));