diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-31 13:30:17 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-31 13:30:17 +0000 |
commit | 074a374c86dbef53f29e3edd830bdba7696d3210 (patch) | |
tree | 0e468d6ae442a3f890249481054428b829fd2fc3 /include | |
parent | 849e730f1573812b1bd64ac7f6512fa55bd91686 (diff) | |
download | ruby-074a374c86dbef53f29e3edd830bdba7696d3210.tar.gz |
* include/ruby/ruby.h (STR2CSTR): removed.
(rb_str2cstr): removed.
* object.c (rb_str2cstr): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b88737838d..1dcff00a6a 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -515,11 +515,6 @@ ULONG2NUM(unsigned long v) return rb_uint2big(v); } -/* obsolete API - use StringValue() */ -char *rb_str2cstr(VALUE,long*); -/* obsolete API - use StringValuePtr() */ -#define STR2CSTR(x) rb_str2cstr((VALUE)(x),0) - #define NUM2CHR(x) (((TYPE(x) == T_STRING)&&(RSTRING_LEN(x)>=1))?\ RSTRING_PTR(x)[0]:(char)(NUM2INT(x)&0xff)) #define CHR2FIX(x) INT2FIX((long)((x)&0xff)) |