diff options
Diffstat (limited to 'pango/pango-ot.h')
-rw-r--r-- | pango/pango-ot.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pango/pango-ot.h b/pango/pango-ot.h index 85788cc6..ce88eb71 100644 --- a/pango/pango-ot.h +++ b/pango/pango-ot.h @@ -25,9 +25,9 @@ #include <freetype/freetype.h> #include <pango/pango-glyph.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS + +#ifdef PANGO_ENABLE_ENGINE typedef guint32 PangoOTTag; @@ -122,9 +122,8 @@ void pango_ot_ruleset_shape (PangoOTRuleset *ruleset, PangoGlyphString *glyphs, gulong *properties); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +#endif /* PANGO_ENABLE_ENGINE */ +G_END_DECLS #endif /* __PANGO_OT_H__ */ |