[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (938097a4eb242552585b3a1c5554282b059dc04e)
The branch, master has been updated
via 938097a4eb242552585b3a1c5554282b059dc04e (commit)
from dc9a967fcad9a9d49cb017c2a58c4d69f3a92293 (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 | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 938097a4eb242552585b3a1c5554282b059dc04e
Author: anthonix <anthonix@anthonix-desktop.(none)>
Commit: anthonix <anthonix@anthonix-desktop.(none)>
Toporouter: Workaround for older GLib
:100644 100644 b03d621... 743375d... M src/toporouter.c
=========
Changes
=========
commit 938097a4eb242552585b3a1c5554282b059dc04e
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 b03d621..743375d 100644
--- a/src/toporouter.c
+++ b/src/toporouter.c
@@ -1051,6 +1051,29 @@ struct _GHashNode
guint key_hash;
};
+struct _GHashTable
+{
+ gint size;
+ gint mod;
+ guint mask;
+ gint nnodes;
+ gint noccupied; /* nnodes + tombstones */
+ GHashNode *nodes;
+ GHashFunc hash_func;
+ GEqualFunc key_equal_func;
+ volatile gint ref_count;
+#ifndef G_DISABLE_ASSERT
+ /*
+ * Tracks the structure of the hash table, not its contents: is only
+ * incremented when a node is added or removed (is not incremented
+ * when the key or data of a node is modified).
+ */
+ int version;
+#endif
+ GDestroyNotify key_destroy_func;
+ GDestroyNotify value_destroy_func;
+};
+
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