diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-11 16:12:17 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-11 16:12:17 -0800 |
commit | af73ca855100a9aadad9bf60de45df62e8aa44e2 (patch) | |
tree | 6423b211b6a9b8f608ddc9aab24b60cb7e61e800 /ext/raindrops/rstruct_19.h | |
parent | fac0211221d70b94c0301f977e8a6ba429d79ef8 (diff) | |
download | raindrops-af73ca855100a9aadad9bf60de45df62e8aa44e2.tar.gz |
Too hard to maintain.
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) */ |