diff options
Diffstat (limited to 'ext/raindrops/rstruct_19.h')
-rw-r--r-- | ext/raindrops/rstruct_19.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/raindrops/rstruct_19.h b/ext/raindrops/rstruct_19.h deleted file mode 100644 index f156206..0000000 --- a/ext/raindrops/rstruct_19.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef RSTRUCT -# ifndef RSTRUCT_PTR -# define RSTRUCT_PTR(s) (RSTRUCT(s)->ptr) -# endif -# ifndef RSTRUCT_LEN -# define RSTRUCT_LEN(s) (RSTRUCT(s)->len) -# endif -#endif - - -#ifndef HAVE_RB_STRUCT_ALLOC_NOINIT -static ID id_new; -static VALUE rb_struct_alloc_noinit(VALUE class) -{ - return rb_funcall(class, id_new, 0, 0); -} -#endif /* !defined(HAVE_RB_STRUCT_ALLOC_NOINIT) */ |