[vala/0.34] vala: Initialize CodeContext.*_directories fields
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] vala: Initialize CodeContext.*_directories fields
- Date: Thu, 5 Oct 2017 20:36:21 +0000 (UTC)
commit 6050877475746d8d74ba26978f709c1b72435b69
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Sep 19 16:38:34 2017 +0200
vala: Initialize CodeContext.*_directories fields
vala/valacodecontext.vala | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index a050f1b..f0adab8 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -116,17 +116,17 @@ public class Vala.CodeContext {
/**
* List of directories where to find .vapi files.
*/
- public string[] vapi_directories;
+ public string[] vapi_directories = {};
/**
* List of directories where to find .gir files.
*/
- public string[] gir_directories;
+ public string[] gir_directories = {};
/**
* List of directories where to find .metadata files for .gir files.
*/
- public string[] metadata_directories;
+ public string[] metadata_directories = {};
/**
* Produce debug information.
@@ -203,9 +203,9 @@ public class Vala.CodeContext {
public bool run_output { get; set; }
- public string[] gresources;
+ public string[] gresources = {};
- public string[] gresources_directories;
+ public string[] gresources_directories = {};
private List<SourceFile> source_files = new ArrayList<SourceFile> ();
private List<string> c_source_files = new ArrayList<string> ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]