From b1d15587479deaacb9bd983fd28c6f3d3e27142e Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Thu, 12 Oct 2000 11:52:07 +0000 Subject: Split glib.h into many header files mostly according to the resp. 2000-10-12 Sebastian Wilhelmi * glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h, gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h, ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h, gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h, grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h, gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h into many header files mostly according to the resp. *.c-files. * gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and __END_DECLS. * configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h, gunicode.h, : Changed guard-macro names to something more consistent. * configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS. --- gfileutils.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'gfileutils.h') diff --git a/gfileutils.h b/gfileutils.h index f6edd431b..d49c921c9 100644 --- a/gfileutils.h +++ b/gfileutils.h @@ -18,13 +18,12 @@ * Boston, MA 02111-1307, USA. */ -#ifndef __GFILEUTILS_H__ -#define __GFILEUTILS_H__ +#ifndef __G_FILEUTILS_H__ +#define __G_FILEUTILS_H__ -#ifdef __cplusplus -extern "C" -{ -#endif +#include + +G_BEGIN_DECLS #define G_FILE_ERROR g_file_error_quark () @@ -82,10 +81,8 @@ gboolean g_file_get_contents (const gchar *filename, -#ifdef __cplusplus -} -#endif +G_END_DECLS -#endif /* __GFILEUTILS_H__ */ +#endif /* __G_FILEUTILS_H__ */ -- cgit v1.2.3