From dfb8ca93a312676b55f693bb8489ececb293c2bc Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 3 Sep 2010 03:41:09 +0000 Subject: [PATCH] * intern.h (rb_usascii_str_new): macros for forward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ intern.h | 3 +++ 2 files changed, 7 insertions(+) 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));