Closed hugopl closed 3 years ago
:tada: :tada:
Thanks very very much, this fix was on my todo list, but with very a low priority among the tons of things I'm doing.
BTW the fix was way more simpler than the monstrosity I was doing.
Thanks for fixing this problem. I can finally start doing stuff!
Crystal ~0.36~ 1.0.0 doesn't cast
nil
toPointer(T).null
anymore, so the binding generator should rewrite some expressions to usePointer(T).null
instead of nil.An early attempt to fix this, with some tests, can be found at: https://github.com/jhass/crystal-gobject/pull/81