summaryrefslogtreecommitdiff
path: root/gfileutils.h
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2000-10-12 11:52:07 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2000-10-12 11:52:07 +0000
commitb1d15587479deaacb9bd983fd28c6f3d3e27142e (patch)
tree35f1769e37be3bcb5c7d9cce2c32f3b7b3683431 /gfileutils.h
parentb1d7443893ec43765555e149ed02edda48df1212 (diff)
downloadglib-b1d15587479deaacb9bd983fd28c6f3d3e27142e.tar.gz
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * 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.
Diffstat (limited to 'gfileutils.h')
-rw-r--r--gfileutils.h17
1 files changed, 7 insertions, 10 deletions
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 <gerror.h>
+
+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__ */