in ext/liballocations/state.c [57:65]
void Init_allocations_state() {
VALUE mAllocations = rb_const_get(rb_cObject, rb_intern("Allocations"));
VALUE cState = rb_define_class_under(mAllocations, "State", rb_cObject);
rb_define_alloc_func(cState, allocation_state_allocate);
rb_define_const(mAllocations, "STATE",
rb_funcall(cState, rb_intern("new"), 0));
}