Hi,

At Sat, 22 Mar 2003 10:33:10 +0900,
nobu.nokada / softhome.net wrote:
> Tried.

I've forgot this.

--- random.c~	22 Mar 2003 01:30:54 -0000
+++ random.c	23 Mar 2003 08:03:52 -0000
@@ -142,12 +142,13 @@
 
 #include "ruby.h"
 
+static VALUE mt_alloc _((VALUE));
 static VALUE
 mt_alloc(klass)
     VALUE klass;
 {
     struct MT *mt;
-    VALUE obj = Data_Make_Struct(obj, struct MT, 0, xfree, mt);
+    VALUE obj = Data_Make_Struct(klass, struct MT, 0, -1, mt);
     mt->left = 1;
     return obj;
 }

-- 
Nobu Nakada