Virtual Method
IdeCodeIndexerindex_file_async
Declaration
void
index_file_async (
IdeCodeIndexer* self,
GFile* file,
const gchar* const* build_flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
This function will take index source file and create an array of symbols in
file
. callback
is called upon completion and must call
ide_code_indexer_index_file_finish()
to complete the operation.
Available since: | 3.32 |
Parameters
file |
GFile |
Source file to index. |
|
The data is owned by the caller of the function. | |
build_flags |
An array of gchar* |
Array of build flags to parse |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
user_data |
gpointer |
Closure data for |