Hello.

Ruby 2.0 is all about "non breaking backward compatibility" right? <wink
wink>.
Anyway, I used to use this code in the ruby-prof gem to see a method is the
allocator:

if (method_id =3D=3D ID_ALLOCATOR)

        result =3D rb_str_new2("allocate");


This fails to compile with 2.0 however:

rp_method.c:101: error: =91ID_ALLOCATOR=92 undeclared (first use in this fu=
nction)

Any help/work arounds available?

Thanks.

-r