Method
IdeSessionItemhas_metadata
Declaration
gboolean
ide_session_item_has_metadata (
IdeSessionItem* self,
const char* key,
const GVariantType** value_type
)
Description
If the item contains a metadata value for key
.
Checks if a value exists for a metadata key and retrieves the GVariantType
for that key.
Parameters
key
-
Type:
const char*
The name of the metadata.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. value_type
-
Type:
GVariantType
A location for a
GVariantType
orNULL
.The argument will be set by the function. The argument can be set to NULL
by the method.The caller of the method takes ownership of the data, and is responsible for freeing it.