From 25b9eb5e5746665ca098f7117ba207692b2bd78d Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 18 Jul 2010 07:31:54 +0000 Subject: * include/ruby/ruby.h (rb_data_type_t): restructured. [ruby-dev:41862] add parent member. * error.c (rb_typeddata_inherited_p): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/cfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dl/cfunc.c') diff --git a/ext/dl/cfunc.c b/ext/dl/cfunc.c index 536a7231a8..7eb58603aa 100644 --- a/ext/dl/cfunc.c +++ b/ext/dl/cfunc.c @@ -70,7 +70,7 @@ dlcfunc_memsize(const void *ptr) const rb_data_type_t dlcfunc_data_type = { "dl/cfunc", - 0, dlcfunc_free, dlcfunc_memsize, + {0, dlcfunc_free, dlcfunc_memsize,}, }; VALUE -- cgit v1.2.3