summaryrefslogtreecommitdiff
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
commit3381bd94d175bc5cc369bb3aeb210be24da49d3f (patch)
treed907fedca56f5dd3d3da51a7fd1201c884e5d837 /README.EXT
parent275c6951cc2cda02810d5f023e3d61dc10f3984d (diff)
* README.EXT: translated README.EXT.ja
git-svn-id: svn+ssh://ci.ruby-lang.org/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 daf67a5..509bffb 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)