root/ext/-test-/string/nofree.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. bug_str_nofree
  2. Init_nofree

#include "ruby.h"

VALUE
bug_str_nofree(VALUE self)
{
    return rb_str_new_cstr("abcdef");
}

void
Init_nofree(VALUE klass)
{
    rb_define_singleton_method(klass, "nofree", bug_str_nofree, 0);
}

/* [previous][next][first][last][top][bottom][index][help] */