Method
IdeBuildManagerbuild_async
Declaration
void
ide_build_manager_build_async (
IdeBuildManager* self,
IdePipelinePhase phase,
GPtrArray* targets,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
This function will request that phase is completed in the underlying
build pipeline and execute a build. Upon completion, callback will be
executed and it can determine the success or failure of the operation
using ide_build_manager_build_finish().
Parameters
phase-
Type:
IdePipelinePhaseAn
IdePipelinePhaseor 0 targets-
Type: An array of
NoneAn array of
IdeBuildTargetto build.The argument can be NULL.The data is owned by the caller of the method. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback to execute upon completion.
The argument can be NULL. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.