[vala] Add constant and delegate declarations to internal header
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Add constant and delegate declarations to internal header
- Date: Wed, 8 Apr 2009 11:37:35 -0400 (EDT)
commit ff45041f9070755c8f9ac8862a6c9beb514fe1d9
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 8 17:36:24 2009 +0200
Add constant and delegate declarations to internal header
---
gobject/valaccodebasemodule.vala | 1 +
gobject/valaccodedelegatemodule.vala | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala
index 95eac14..b083409 100644
--- a/gobject/valaccodebasemodule.vala
+++ b/gobject/valaccodebasemodule.vala
@@ -769,6 +769,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
if (!c.is_internal_symbol ()) {
generate_constant_declaration (c, header_declarations);
}
+ generate_constant_declaration (c, internal_header_declarations);
}
public void generate_field_declaration (Field f, CCodeDeclarationSpace decl_space) {
diff --git a/gobject/valaccodedelegatemodule.vala b/gobject/valaccodedelegatemodule.vala
index 028f5f5..006b75c 100644
--- a/gobject/valaccodedelegatemodule.vala
+++ b/gobject/valaccodedelegatemodule.vala
@@ -94,6 +94,7 @@ internal class Vala.CCodeDelegateModule : CCodeArrayModule {
if (!d.is_internal_symbol ()) {
generate_delegate_declaration (d, header_declarations);
}
+ generate_delegate_declaration (d, internal_header_declarations);
}
public override string get_delegate_target_cname (string delegate_cname) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]