@new


Description:

public static Filter @new (StaticFilterMapFunc map_func, owned FilterMapNotify map_notify)

Create a new Filter with the given parameters.

This call will zero the out_filter struct.

Parameters:

map_func

The StaticFilterMapFunc to use for the filter

map_notify

The FilterMapNotify to use for the filter

destroy

The DestroyNotify to call on userdata when disposing of the filter

out_filter

A pointer to an uninitialized Filter struct. This struct will zeroed and configured with the filter parameters

userdata

The user data to pass to map_func and map_notify




2022 vala-language.org