alias GLib::HRFunc

Overview

Specifies the type of the function passed to GLib::HashTable#find, GLib::HashTable#foreach_remove, and GLib::HashTable#foreach_steal.

The function is called with each key/value pair, together with the user_data parameter passed to the calling function.

The function should return true if the key/value pair should be selected, meaning it has been found or it should be removed from the GLib::HashTable, depending on the calling function.

Alias Definition

Pointer(Void), Pointer(Void) -> Bool

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr