Method
IdeCompileCommandslookup
Declaration
gchar**
ide_compile_commands_lookup (
IdeCompileCommands* self,
GFile* file,
const gchar* const* system_includes,
GFile** directory,
GError** error
)
Description
Locates the commands to compile the file
requested.
If directory
is non-NULL, then the directory to run the command from
is placed in directory
.
Available since: | 3.32 |
Parameters
file |
GFile |
A |
|
The data is owned by the caller of the function. | |
system_includes |
const gchar* const* |
System include dirs if any. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
directory |
GFile |
A location for a |
|
The argument will be set by the function. | |
The argument can be NULL . | |
The instance takes ownership of the data, and is responsible for freeing it. | |
error |
GError ** |
The return location for a GError* , or NULL . |