[vala] Add delegate declarations to header file
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Add delegate declarations to header file
- Date: Wed, 8 Apr 2009 11:35:50 -0400 (EDT)
commit eb0b7df3d60c29e9ead627efe5a523cc396ec45a
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 8 17:34:51 2009 +0200
Add delegate declarations to header file
---
gobject/valaccodedelegatemodule.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gobject/valaccodedelegatemodule.vala b/gobject/valaccodedelegatemodule.vala
index 30d1796..028f5f5 100644
--- a/gobject/valaccodedelegatemodule.vala
+++ b/gobject/valaccodedelegatemodule.vala
@@ -90,6 +90,10 @@ internal class Vala.CCodeDelegateModule : CCodeArrayModule {
d.accept_children (codegen);
generate_delegate_declaration (d, source_declarations);
+
+ if (!d.is_internal_symbol ()) {
+ generate_delegate_declaration (d, 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]