diff options
author | Mike Gorse <mgorse@suse.com> | 2012-05-21 17:40:11 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2012-05-21 17:40:11 -0500 |
commit | 6581952c14635348bb610af161e3acb61be5e698 (patch) | |
tree | b32431983786e09615c2206f6851488e211c7724 /atspi/atspi-document.h | |
parent | 324fb3422c5fd8f96cae51d4f37812eee33078de (diff) | |
download | at-spi2-core-6581952c14635348bb610af161e3acb61be5e698.tar.gz |
Add G_BEGIN_DECLS and G_END_DECLS macros for prototypes to fix c++ linkage
Diffstat (limited to 'atspi/atspi-document.h')
-rw-r--r-- | atspi/atspi-document.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/atspi/atspi-document.h b/atspi/atspi-document.h index afe79695..85ba3389 100644 --- a/atspi/atspi-document.h +++ b/atspi/atspi-document.h @@ -31,6 +31,8 @@ #include "atspi-types.h" +G_BEGIN_DECLS + #define ATSPI_TYPE_DOCUMENT (atspi_document_get_type ()) #define ATSPI_IS_DOCUMENT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_DOCUMENT) #define ATSPI_DOCUMENT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_DOCUMENT, AtspiDocument) @@ -49,4 +51,6 @@ gchar * atspi_document_get_attribute_value (AtspiDocument *obj, gchar *attribute GHashTable * atspi_document_get_attributes (AtspiDocument *obj, GError **error); +G_END_DECLS + #endif /* _ATSPI_DOCUMENT_H_ */ |