Method

IdeRunCommandsdup_by_id

Declaration

IdeRunCommand*
ide_run_commands_dup_by_id (
  IdeRunCommands* self,
  const char* id
)

Description

Finds an IdeRunCommand by it’s id.

NULL is allowed for id out of convenience, but will return NULL.

Parameters

id

Type: const char*

The id of the run command.

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

Return value

Type: IdeRunCommand

An IdeRunCommand or NULL.

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