Open drizt opened 8 years ago
Seems like ref_count
should be defined as an int
not an unsigned int
in struct signal_type_base
as we actually do assert(instance->ref_count > 0);
. That's a better way to ensure that ref_count
is positive definite.
signal_type_ref_count
returnsint
here butsignal_type_base::ref_count
isunsigned int
here.