summaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fiddle')
-rw-r--r--ext/fiddle/closure.c2
-rw-r--r--ext/fiddle/function.c2
2 files changed, 2 insertions, 2 deletions
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