[valadoc] ctypresolver: signals: register default implementations
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] ctypresolver: signals: register default implementations
- Date: Tue, 2 Sep 2014 17:17:40 +0000 (UTC)
commit 300e643ce781132b7276962b1a8223b3ebde5fde
Author: Florian Brosch <flo brosch gmail com>
Date: Sat Aug 30 19:07:46 2014 +0200
ctypresolver: signals: register default implementations
src/libvaladoc/ctyperesolver.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libvaladoc/ctyperesolver.vala b/src/libvaladoc/ctyperesolver.vala
index 3c30dfd..6901d96 100644
--- a/src/libvaladoc/ctyperesolver.vala
+++ b/src/libvaladoc/ctyperesolver.vala
@@ -315,6 +315,7 @@ public class Valadoc.CTypeResolver : Visitor {
string parent_cname = get_parent_type_cname (item);
assert (parent_cname != null);
+ string? default_impl_cname = item.get_default_impl_cname ();
string cname = item.get_cname ();
register_symbol (parent_cname+"::"+cname, item);
@@ -341,6 +342,10 @@ public class Valadoc.CTypeResolver : Visitor {
foreach (Class cl in classes) {
register_symbol (cl.get_cname () + "::" + cname, item);
}
+
+ if (default_impl_cname != null) {
+ register_symbol (default_impl_cname, item);
+ }
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]