[vala] GAsync: Declare functions for abstract async methods
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] GAsync: Declare functions for abstract async methods
- Date: Fri, 12 Feb 2010 10:01:31 +0000 (UTC)
commit 5ec6ff7aa0de85419c156d26c8b1c72349c4878d
Author: Jürg Billeter <j bitron ch>
Date: Fri Feb 12 11:00:05 2010 +0100
GAsync: Declare functions for abstract async methods
Fixes bug 598266.
codegen/valagasyncmodule.vala | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valagasyncmodule.vala b/codegen/valagasyncmodule.vala
index 9bd6cb7..5222048 100644
--- a/codegen/valagasyncmodule.vala
+++ b/codegen/valagasyncmodule.vala
@@ -319,6 +319,15 @@ internal class Vala.GAsyncModule : GSignalModule {
// only append data struct here to make sure all struct member
// types are declared before the struct definition
append_struct (data);
+ } else {
+ generate_method_declaration (m, source_declarations);
+
+ if (!m.is_internal_symbol ()) {
+ generate_method_declaration (m, header_declarations);
+ }
+ if (!m.is_private_symbol ()) {
+ generate_method_declaration (m, internal_header_declarations);
+ }
}
if (m.is_abstract || m.is_virtual) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]