VALUE allocation_state_allocate()

in ext/liballocations/state.c [48:55]


VALUE allocation_state_allocate(VALUE klass) {
    AllocationState *state = ALLOC(AllocationState);

    state->object_counts = NULL;

    return Data_Wrap_Struct(klass, allocation_state_mark, allocation_state_free,
                            state);
}