3 # define RSTRUCT_PTR(s) (RSTRUCT(s)->ptr)
6 # define RSTRUCT_LEN(s) (RSTRUCT(s)->len)
11 #ifndef HAVE_RB_STRUCT_ALLOC_NOINIT
13 static VALUE
rb_struct_alloc_noinit(VALUE
class)
15 return rb_funcall(class, id_new
, 0, 0);
17 #endif /* !defined(HAVE_RB_STRUCT_ALLOC_NOINIT) */