diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-07 06:40:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-07 06:40:33 +0000 |
commit | f4ca906d5c3267c0f84db4c5780829783c71a8b6 (patch) | |
tree | e128cf5e2968e6f9583ae4b23734ed64bcd15d56 /ext/-test-/string/init.c | |
parent | 136c117fc1c5e396f71d2db0a192fb195bb5f37e (diff) | |
download | ruby-f4ca906d5c3267c0f84db4c5780829783c71a8b6.tar.gz |
* ext/-test-/string/modify.c: split from init.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/string/init.c')
-rw-r--r-- | ext/-test-/string/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/-test-/string/init.c b/ext/-test-/string/init.c index 793181d148..0b3e4a6ff2 100644 --- a/ext/-test-/string/init.c +++ b/ext/-test-/string/init.c @@ -2,18 +2,10 @@ #define init(n) {void Init_##n(VALUE klass); Init_##n(klass);} -VALUE -bug_str_modify(VALUE str) -{ - rb_str_modify(str); - return str; -} - void Init_string(void) { VALUE mBug = rb_define_module("Bug"); VALUE klass = rb_define_class_under(mBug, "String", rb_cString); - rb_define_method(klass, "modify!", bug_str_modify, 0); TEST_INIT_FUNCS(init); } |