Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Fiddle::Pointer#call_free
call_free => nil
ext/fiddle/pointer.c
View on GitHub ↗
static VALUE
rb_fiddle_ptr_call_free(VALUE self)
{
struct ptr_data *pdata;
TypedData_Get_Struct(self, struct ptr_data, &fiddle_ptr_data_type, pdata);
fiddle_ptr_free_ptr(pdata);
return Qnil;
}
Call the free function for this pointer. Calling more than once will do nothing. Does nothing if there is no free function attached.