Skip to content

Tweak `get_type_slow` slightly

Alex Crichton requested to merge alexcrichton/gnome-class:invalid-type into master

A few changes included in this small refactoring:

  • The return value is asserted to not be G_TYPE_INVALID
  • Instead of catch_unwind a Drop implementation is used.
  • When spinning, use yield_now to ensure that not too much work is wasted

Closes #39 (closed)

Merge request reports