[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (dc9a967fcad9a9d49cb017c2a58c4d69f3a92293)
The branch, master has been updated
via dc9a967fcad9a9d49cb017c2a58c4d69f3a92293 (commit)
from 5816f88a255e9a5f5e35684f4be5a45fe6adc091 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/toporouter.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit dc9a967fcad9a9d49cb017c2a58c4d69f3a92293
Author: anthonix <anthonix@anthonix-desktop.(none)>
Commit: anthonix <anthonix@anthonix-desktop.(none)>
Toporouter: Workaround for older GLib
:100644 100644 14f7b64... b03d621... M src/toporouter.c
=========
Changes
=========
commit dc9a967fcad9a9d49cb017c2a58c4d69f3a92293
Author: anthonix <anthonix@anthonix-desktop.(none)>
Commit: anthonix <anthonix@anthonix-desktop.(none)>
Toporouter: Workaround for older GLib
diff --git a/src/toporouter.c b/src/toporouter.c
index 14f7b64..b03d621 100644
--- a/src/toporouter.c
+++ b/src/toporouter.c
@@ -1038,6 +1038,19 @@ toporouter_draw_cluster(toporouter_t *r, drawing_context_t *dc, toporouter_clust
}
#if GLIB_MAJOR_VERSION <= 2 && GLIB_MINOR_VERSION < 14
+typedef struct _GHashNode GHashNode;
+
+struct _GHashNode
+{
+ gpointer key;
+ gpointer value;
+
+ /* If key_hash == 0, node is not in use
+ * If key_hash == 1, node is a tombstone
+ * If key_hash >= 2, node contains data */
+ guint key_hash;
+};
+
GList *
g_hash_table_get_keys (GHashTable *hash_table)
{
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs