summaryrefslogtreecommitdiff
path: root/README.EXT.ja
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-08 15:25:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-08 15:25:04 +0000
commite78ff08968357431c87914641f294185cfda3218 (patch)
tree280555e2d3940352028047d2493430a34be73f5b /README.EXT.ja
parent729e66b3c1d90547c9b4eb2a045d9095075f71b8 (diff)
* array.c (rb_ary_cat): new function to concat objects into array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT.ja')
-rw-r--r--README.EXT.ja4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.EXT.ja b/README.EXT.ja
index d1ec3d8806..6b0cb11757 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -312,6 +312,10 @@ Rubyが用意している関数を用いてください.
rb_ary_shift(VALUE ary)
rb_ary_unshift(VALUE ary, VALUE val)
+ rb_ary_cat(VALUE ary, const VALUE *ptr, long len)
+
+ 配列aryにptrからlen個のオブジェクトを追加する.
+
2.Rubyの機能を使う
原理的にRubyで書けることはCでも書けます.RubyそのものがCで記