extern "C" { .. } macros in glib.h
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: GTK+ development list <gtk-devel-list redhat com>
- Subject: extern "C" { .. } macros in glib.h
- Date: Thu, 17 Dec 1998 11:23:16 +0100
Hi,
woudn't something like gnome-libs/libgnome/gnome-defs.h make sense in
glib.h. It would make life a bit easier for library writers.
here comes gnome-libs/libgnome/gnome-defs.h:
#ifdef __cplusplus
#define BEGIN_GNOME_DECLS extern "C" {
#define END_GNOME_DECLS }
#else
#define BEGIN_GNOME_DECLS
#define END_GNOME_DECLS
#endif
Bye,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi@ira.uka.de | är himmlen så förunerligt blå
http://goethe.ira.uka.de/~wilhelmi |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]