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-matchrule.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-matchrule.h')
-rw-r--r-- | atspi/atspi-matchrule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/atspi/atspi-matchrule.h b/atspi/atspi-matchrule.h index f5362860..0a006d06 100644 --- a/atspi/atspi-matchrule.h +++ b/atspi/atspi-matchrule.h @@ -32,6 +32,8 @@ #include "atspi-constants.h" #include "atspi-types.h" +G_BEGIN_DECLS + #define ATSPI_TYPE_MATCH_RULE (atspi_match_rule_get_type ()) #define ATSPI_MATCH_RULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_MATCH_RULE, AtspiMatchRule)) #define ATSPI_MATCH_RULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_MATCH_RULE, AtspiMatchRuleClass)) @@ -73,4 +75,6 @@ atspi_match_rule_new (AtspiStateSet *states, AtspiCollectionMatchType interfacematchtype, gboolean invert); +G_END_DECLS + #endif /* _ATSPI_MATCH_RULE_H_ */ |