Method

IdeCodeIndexergenerate_key_async

Declaration

void
ide_code_indexer_generate_key_async (
  IdeCodeIndexer* self,
  IdeLocation* location,
  const gchar* const* build_flags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

This function will get key of reference located at IdeSoureLocation.

In 3.30 this function gained the build_flags parameter.

Parameters

location

Type: IdeLocation

Source location of refernece.

The data is owned by the caller of the method.
build_flags

Type: An array of gchar*

Array of build flags to parse file.

The argument can be NULL.
The array must be NULL-terminated.
The data is owned by the caller of the method.
Each element is a NUL terminated UTF-8 string.
cancellable

Type: GCancellable

A GCancellable.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A callback to execute upon indexing.

The argument can be NULL.
user_data

Type: gpointer

User data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.