Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.

svn path=/trunk/; revision=19238
This commit is contained in:
Christian Persch
2007-12-25 10:01:14 +00:00
parent 535e29c380
commit 8b9693f815
57 changed files with 117 additions and 413 deletions

View File

@ -21,18 +21,13 @@
#ifndef __GAIL_PRIVATE_MACROS_H__
#define __GAIL_PRIVATE_MACROS_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Note: these macros are logic macros, not intended to warn on failure. */
#define gail_return_val_if_fail(a, b) if (!(a)) return (b)
#define gail_return_if_fail(a) if (!(a)) return
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GAIL_PRIVATE_MACROS_H__ */