Method

IdeSessionlookup_by_id

Declaration

IdeSessionItem*
ide_session_lookup_by_id (
  IdeSession* self,
  const char* id
)

Description

Gets a session item matching id.

Parameters

id

Type: const char*

The id of the item.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: IdeSessionItem

An IdeSessionItem or NULL.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.