diff options
Diffstat (limited to 'gobject/gvaluetypes.h')
-rw-r--r-- | gobject/gvaluetypes.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gobject/gvaluetypes.h b/gobject/gvaluetypes.h index 557ca2343..5b1910cb7 100644 --- a/gobject/gvaluetypes.h +++ b/gobject/gvaluetypes.h @@ -24,11 +24,7 @@ #include <gobject/gvalue.h> - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS /* --- type macros --- */ #define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR)) @@ -89,8 +85,6 @@ void g_value_set_string_take_ownership (GValue *value, -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __G_VALUETYPES_H__ */ |