summaryrefslogtreecommitdiffstats
path: root/README.EXT
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-22 00:24:45 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-22 00:24:45 +0000
commit6d1f74b3eaded44a31a9270949cc9b8a0b4aa989 (patch)
treed907fedca56f5dd3d3da51a7fd1201c884e5d837 /README.EXT
parentb1755dba56605f8599953c59a4c3b3865fb43592 (diff)
downloadruby-6d1f74b3eaded44a31a9270949cc9b8a0b4aa989.tar.gz
ruby-6d1f74b3eaded44a31a9270949cc9b8a0b4aa989.tar.xz
ruby-6d1f74b3eaded44a31a9270949cc9b8a0b4aa989.zip
* README.EXT: translated README.EXT.ja
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT
index daf67a503..509bffba3 100644
--- a/README.EXT
+++ b/README.EXT
@@ -458,6 +458,10 @@ function to free the pointer allocation. If this is -1, the pointer
will be just freed. The functions mark and free will be called from
garbage collector.
+These mark / free functions are invoked during GC execution. No
+object allocations are allowed during it, so do not allocate ruby
+objects inside them.
+
You can allocate and wrap the structure in one step.
Data_Make_Struct(klass, type, mark, free, sval)