static int each_count()

in ext/liballocations/liballocations.c [69:75]


static int each_count(st_data_t key, st_data_t value, st_data_t hash_ptr) {
    VALUE vkey = (VALUE) key;

    rb_hash_aset((VALUE) hash_ptr, vkey, INT2NUM(value));

    return ST_CONTINUE;
}