summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ext/fiddle/closure.c2
-rw-r--r--ext/fiddle/function.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bc73b9b..16d77fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jul 20 18:23:04 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/fiddle/closure.c (closure_data_type),
+ ext/fiddle/function.c (function_data_type): rb_data_type_t has
+ changed.
+
Tue Jul 20 14:21:38 2010 Narihiro Nakamura <authorNari@gmail.com>
* gc.c: don't call after_gc_sweep() after when garbage_collect()
diff --git a/ext/fiddle/closure.c b/ext/fiddle/closure.c
index 072e13e..a77f110 100644
--- a/ext/fiddle/closure.c
+++ b/ext/fiddle/closure.c
@@ -47,7 +47,7 @@ closure_memsize(const void * ptr)
const rb_data_type_t closure_data_type = {
"fiddle/closure",
- 0, dealloc, closure_memsize,
+ {0, dealloc, closure_memsize,},
};
void
diff --git a/ext/fiddle/function.c b/ext/fiddle/function.c
index 66e5707..ff18595 100644
--- a/ext/fiddle/function.c
+++ b/ext/fiddle/function.c
@@ -27,7 +27,7 @@ function_memsize(const void *p)
const rb_data_type_t function_data_type = {
"fiddle/function",
- 0, deallocate, function_memsize,
+ {0, deallocate, function_memsize,},
};
static VALUE