summaryrefslogtreecommitdiff
path: root/girepository/gthash-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop calls to g_type_init()Colin Walters2012-10-161-1/+0
| | | | And bump our GLib requirement.
* girepository: avoid crash when querying nonexistent infoPavel Holejsovsky2012-05-121-4/+4
| | | | | | | | | It appears that cmph library can return (n+1) when querying item not present in its original n-item-sized set. Adjust code so that it detects this condition and do not chase stray pointers resulting from this bogus(?) hash result. https://bugzilla.gnome.org/show_bug.cgi?id=675939
* Add Emacs mode lines to C sourcesColin Walters2012-02-031-1/+2
|
* Add internal hashing API designed for the typelibColin Walters2010-12-031-0/+65
In multiple places in the typelib, but most importantly the directory, we need some fast indexing. Perfect hashing, as implemented by CMPH (previous commit), is an exact fit for the problem domain. Add an API built on top of CMPH which maps strings->guint16 (we just need a guint16 for the typelib index). https://bugzilla.gnome.org/show_bug.cgi?id=554943