Method
IdePipelinerebuild_async
Declaration
void
ide_pipeline_rebuild_async (
IdePipeline* self,
IdePipelinePhase phase,
GPtrArray* targets,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously starts the build pipeline after cleaning any existing build artifacts.
This method completes asynchronously. Use ide_pipeline_rebuild_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
phase
-
Type:
IdePipelinePhase
The requested build phase.
targets
-
Type: An array of
None
An array of
IdeBuildTarget
orNULL
.The argument can be NULL
.The data is owned by the caller of the method. cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A callback to build upon completion.
The argument can be NULL
. user_data
-
Type:
gpointer
Data for
callback
.The argument can be NULL
.The data is owned by the caller of the method.