From 3381bd94d175bc5cc369bb3aeb210be24da49d3f Mon Sep 17 00:00:00 2001 From: shyouhei Date: Sun, 22 Jun 2008 00:24:45 +0000 Subject: * README.EXT: translated README.EXT.ja git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- README.EXT | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.EXT') diff --git a/README.EXT b/README.EXT index daf67a5038..509bffba32 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) -- cgit v1.2.1