[gnome-builder] ctags: make compare function public
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ctags: make compare function public
- Date: Sat, 16 May 2015 03:29:39 +0000 (UTC)
commit 7e891fc811bc00e45f5ba6bc0bc83df1299a7b6f
Author: Christian Hergert <christian hergert me>
Date: Fri May 15 20:27:39 2015 -0700
ctags: make compare function public
libide/ctags/ide-ctags-index.c | 2 +-
libide/ctags/ide-ctags-index.h | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libide/ctags/ide-ctags-index.c b/libide/ctags/ide-ctags-index.c
index 54bd6ba..6305d81 100644
--- a/libide/ctags/ide-ctags-index.c
+++ b/libide/ctags/ide-ctags-index.c
@@ -80,7 +80,7 @@ ide_ctags_index_entry_compare_prefix (gconstpointer a,
return g_strcmp0 (entrya->name, entryb->name);
}
-static gint
+gint
ide_ctags_index_entry_compare (gconstpointer a,
gconstpointer b)
{
diff --git a/libide/ctags/ide-ctags-index.h b/libide/ctags/ide-ctags-index.h
index d6280f5..7626ede 100644
--- a/libide/ctags/ide-ctags-index.h
+++ b/libide/ctags/ide-ctags-index.h
@@ -73,6 +73,9 @@ const IdeCtagsIndexEntry *ide_ctags_index_lookup_prefix (IdeCtagsIndex *
const gchar *keyword,
gsize *length);
+gint ide_ctags_index_entry_compare (gconstpointer a,
+ gconstpointer b);
+
G_END_DECLS
#endif /* IDE_CTAGS_INDEX_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]