aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-22 15:03:38 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-22 15:03:38 +0100
commit9214fa3db97362b65960c85cad92d85e56bc30ca (patch)
tree1be3bb15f756b5657f4c7b8f55ad12128a98644b /src/lib/ecore_con
parenteolian: silence static analysis false positive (diff)
downloadefl-9214fa3db97362b65960c85cad92d85e56bc30ca.tar.gz
eolian: disallow cyclic dependencies between .eo files
Eo files will now fail to compile if a cycle is detected. This required some temporary changes in existing eo files (we had 2 cycles) for which I added a FIXME (they do not affect C generation). @feature
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con_server.eo3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_con/ecore_con_server.eo b/src/lib/ecore_con/ecore_con_server.eo
index e942d77330..6e404e6afc 100644
--- a/src/lib/ecore_con/ecore_con_server.eo
+++ b/src/lib/ecore_con/ecore_con_server.eo
@@ -51,7 +51,8 @@ class Ecore.Con.Server (Ecore.Con.Base) {
get {
}
values {
- clients: const(list<const(Ecore.Con.Client) *>) *; /*@ The list of clients on this server. */
+ // FIXME: Ecore.Con.Client is needed, but that introduces a cycle
+ clients: const(list<const(Ecore.Con.Base) *>) *; /*@ The list of clients on this server. */
}
}
@property connection_type {