Skip to content

param: Add a value_is_valid vfunc

Matthias Clasen requested to merge param-speedups2 into main

In constrast to value_validate, this one does not modify the passed-in value, so we can avoid the cost of copying the GValue beforehand. It is optional, but we set it for most of the builtin pspec types.

This MR adds new api: g_param_value_is_valid()

Edited by Matthias Clasen

Merge request reports

Loading