☰
Debian Codegraph
@
3.3.8-2.2
/
/
ext
/
-test-
/
string
/
nofree.c
☽
☼
ext/-test-/string/nofree.c
code
plain
raw
BSD-2-clause
or
Ruby
Yukihiro Matsumoto <
[email protected]
> and others
debian/copyright
1
#include "ruby.h"
2
3
VALUE
4
bug_str_nofree(VALUE self)
5
{
6
return rb_str_new_cstr("abcdef");
7
}
8
9
void
10
Init_string_nofree(VALUE klass)
11
{
12
rb_define_singleton_method(klass, "nofree", bug_str_nofree, 0);
13
}