mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Use G_BEGIN_DECLS and G_END_DECLS.
2001-02-21 Tor Lillqvist <tml@iki.fi> * *.h: Use G_BEGIN_DECLS and G_END_DECLS. * Makefile.am: Use libglib-1.3.la from top_builddir. Invoke libtool with -no-undefined for Win32 and Cygwin.
This commit is contained in:
committed by
Tor Lillqvist
parent
8dd8609870
commit
137d3248c7
@@ -24,11 +24,7 @@
|
||||
#include <gobject/gparam.h>
|
||||
#include <gobject/gclosure.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* --- type macros --- */
|
||||
#define G_TYPE_IS_OBJECT(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_OBJECT)
|
||||
@@ -206,10 +202,6 @@ G_STMT_START { \
|
||||
G_OBJECT_TYPE_NAME (_object)); \
|
||||
} G_STMT_END
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_OBJECT_H__ */
|
||||
|
Reference in New Issue
Block a user