Method

GrlRegistrymetadata_key_validate

since: 0.2.0

Declaration [src]

gboolean
grl_registry_metadata_key_validate (
  GrlRegistry* registry,
  GrlKeyID key,
  GValue* value
)

Description [src]

Validates value content complies with the key specification. That is, it has the expected type, and value are within the range specified in key (for integer values).

Available since: 0.2.0

Parameters

key

Type: GrlKeyID

A metadata key.

value

Type: GValue

Value to be validate.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if complies.