When attempting to invoke a closure with an argument of Fiddle::TYPE_CONST_STRING, I get this error:
test.rb:43:in `call': closure args: 10 (RuntimeError)
That's coming from here:
|
rb_raise(rb_eRuntimeError, "closure args: %d", type); |
It appears that the switch in with_gvl_callback() doesn't handle TYPE_CONST_STRING.