Commit 6c64b421 authored by Christian Hergert's avatar Christian Hergert
Browse files

vala-pack: add workaround for string arrays

Vala currently doesn't handle the null-terminated array of strings
being passed down correctly (const gchar * const *). This is a workaround
for it temporarily.
parent 7e13b239
......@@ -29,7 +29,7 @@ namespace Ide
public class ValaCodeIndexer : Ide.Object, Ide.CodeIndexer
{
public async Ide.CodeIndexEntries index_file_async (GLib.File file,
string[]? build_flags,
[CCode (array_length = false, array_null_terminated = true)] string[]? build_flags,
GLib.Cancellable? cancellable)
throws GLib.Error
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment