☰
Debian Codegraph
@
3.3.8-2.2
/
/
ext
/
-test-
/
struct
/
len.c
☽
☼
ext/-test-/struct/len.c
code
plain
raw
BSD-2-clause
or
Ruby
Yukihiro Matsumoto <
[email protected]
> and others
debian/copyright
1
#include "ruby.h"
2
3
static VALUE
4
bug_struct_len(VALUE obj)
5
{
6
return LONG2NUM(RSTRUCT_LEN(obj));
7
}
8
9
void
10
Init_len(VALUE klass)
11
{
12
rb_define_method(klass, "rstruct_len", bug_struct_len, 0);
13
}