diff options
author | David King <amigadave@amigadave.com> | 2015-10-16 14:44:33 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-10-16 14:44:33 +0100 |
commit | 684c6ab126971fe865fd2db84b7b74a7980e85ef (patch) | |
tree | e19df830a9d08e7e30e4d44f1817fea3e98401dd | |
parent | 25c781553f2d749a3f1a56a96035c3c3b0d7b51e (diff) | |
download | yelp-684c6ab126971fe865fd2db84b7b74a7980e85ef.tar.gz |
Mark internal functions with G_GNUC_INTERNAL
https://bugzilla.gnome.org/show_bug.cgi?id=756658
-rw-r--r-- | libyelp/Makefile.am | 4 | ||||
-rw-r--r-- | libyelp/yelp-bz2-decompressor.h | 2 | ||||
-rw-r--r-- | libyelp/yelp-debug.h | 1 | ||||
-rw-r--r-- | libyelp/yelp-error.h | 1 | ||||
-rw-r--r-- | libyelp/yelp-info-parser.h | 2 | ||||
-rw-r--r-- | libyelp/yelp-lzma-decompressor.h | 2 | ||||
-rw-r--r-- | libyelp/yelp-magic-decompressor.h | 2 | ||||
-rw-r--r-- | libyelp/yelp-man-parser.h | 3 |
8 files changed, 15 insertions, 2 deletions
diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am index 5f314617..af6f0cbf 100644 --- a/libyelp/Makefile.am +++ b/libyelp/Makefile.am @@ -151,10 +151,10 @@ BUILT_SOURCES += \ yelp-types.h yelp-marshal.h: yelp-marshal.list - $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header $< > $@ + $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header --internal $< > $@ yelp-marshal.c: yelp-marshal.list - $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header --body $< > $@ + $(AM_V_GEN) glib-genmarshal --prefix=yelp_marshal $(srcdir)/yelp-marshal.list --header --body --internal $< > $@ CLEANFILES = $(BUILT_SOURCES) diff --git a/libyelp/yelp-bz2-decompressor.h b/libyelp/yelp-bz2-decompressor.h index 3d442508..9867c985 100644 --- a/libyelp/yelp-bz2-decompressor.h +++ b/libyelp/yelp-bz2-decompressor.h @@ -42,8 +42,10 @@ struct _YelpBz2DecompressorClass GObjectClass parent_class; }; +G_GNUC_INTERNAL GType yelp_bz2_decompressor_get_type (void); +G_GNUC_INTERNAL YelpBz2Decompressor *yelp_bz2_decompressor_new (void); G_END_DECLS diff --git a/libyelp/yelp-debug.h b/libyelp/yelp-debug.h index d7d8e7f3..620a4bf1 100644 --- a/libyelp/yelp-debug.h +++ b/libyelp/yelp-debug.h @@ -66,6 +66,7 @@ typedef enum { # define d(x) #endif +G_GNUC_INTERNAL void yelp_debug (const gchar *file, guint line, const gchar *function, guint flags, const gchar *format, ...); diff --git a/libyelp/yelp-error.h b/libyelp/yelp-error.h index 04f4ffaf..7d2a0df2 100644 --- a/libyelp/yelp-error.h +++ b/libyelp/yelp-error.h @@ -34,6 +34,7 @@ typedef enum { YELP_ERROR_UNKNOWN } YelpError; +G_GNUC_INTERNAL GError * yelp_error_copy (GError *error); G_END_DECLS diff --git a/libyelp/yelp-info-parser.h b/libyelp/yelp-info-parser.h index cfd8a722..7cec40e2 100644 --- a/libyelp/yelp-info-parser.h +++ b/libyelp/yelp-info-parser.h @@ -33,7 +33,9 @@ enum { }; +G_GNUC_INTERNAL GtkTreeStore *yelp_info_parser_parse_file (char *file); +G_GNUC_INTERNAL xmlDocPtr yelp_info_parser_parse_tree (GtkTreeStore *tree); #endif /* __YELP_INFO_PARSER_H__ */ diff --git a/libyelp/yelp-lzma-decompressor.h b/libyelp/yelp-lzma-decompressor.h index ea5799ed..be656cbc 100644 --- a/libyelp/yelp-lzma-decompressor.h +++ b/libyelp/yelp-lzma-decompressor.h @@ -41,8 +41,10 @@ struct _YelpLzmaDecompressorClass GObjectClass parent_class; }; +G_GNUC_INTERNAL GType yelp_lzma_decompressor_get_type (void); +G_GNUC_INTERNAL YelpLzmaDecompressor *yelp_lzma_decompressor_new (void); G_END_DECLS diff --git a/libyelp/yelp-magic-decompressor.h b/libyelp/yelp-magic-decompressor.h index 1eb3ca57..4984dbab 100644 --- a/libyelp/yelp-magic-decompressor.h +++ b/libyelp/yelp-magic-decompressor.h @@ -41,8 +41,10 @@ struct _YelpMagicDecompressorClass GObjectClass parent_class; }; +G_GNUC_INTERNAL GType yelp_magic_decompressor_get_type (void); +G_GNUC_INTERNAL YelpMagicDecompressor *yelp_magic_decompressor_new (void); G_END_DECLS diff --git a/libyelp/yelp-man-parser.h b/libyelp/yelp-man-parser.h index 158568e0..26d73bdc 100644 --- a/libyelp/yelp-man-parser.h +++ b/libyelp/yelp-man-parser.h @@ -26,10 +26,13 @@ typedef struct _YelpManParser YelpManParser; +G_GNUC_INTERNAL YelpManParser * yelp_man_parser_new (void); +G_GNUC_INTERNAL xmlDocPtr yelp_man_parser_parse_file (YelpManParser *parser, gchar *path, GError **error); +G_GNUC_INTERNAL void yelp_man_parser_free (YelpManParser *parser); #endif /* __YELP_MAN_PARSER_H__ */ |