Method

IdeBuildManagerrebuild_async

Declaration

void
ide_build_manager_rebuild_async (
  IdeBuildManager* self,
  IdePipelinePhase phase,
  GPtrArray* targets,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously requests that the build pipeline clean and rebuild up to the given phase. This may involve discarding previous build artifacts to allow for the rebuild process.

See ide_pipeline_rebuild_async() for more information.

Parameters

phase

Type: IdePipelinePhase

The build phase to rebuild to.

targets

Type: An array of None

An array of GPtrArray of IdeBuildTarget or NULL.

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

Type: GCancellable

A GCancellable or NULL.

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

Type: GAsyncReadyCallback

A callback to execute upon completion, or NULL.

The argument can be NULL.
user_data

Type: gpointer

Closure data for callback.

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