summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-08-30 18:08:06 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2007-08-30 18:08:06 +0200
commit69028bfe3e67b367108801f44435281765ed872a (patch)
tree78c964c81ddbbfad70ff89f18d46ac85345329f2 /src
parent1a96b500d128c80c0a93e08a1eb41748d7bb3142 (diff)
downloadbcop-69028bfe3e67b367108801f44435281765ed872a.tar.gz
bcop-69028bfe3e67b367108801f44435281765ed872a.tar.bz2
Use COMPIZ_BEGIN_DECLS / COMPIZ_END_DECLS
Diffstat (limited to 'src')
-rw-r--r--src/bcop.xslt10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 577c1d4..9850f88 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -1388,9 +1388,9 @@ static CompBool </xsl:text>
<xsl:value-of select="$PLUGIN"/>
<xsl:text>_OPTIONS_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include &lt;compiz-common.h&gt;
+
+COMPIZ_BEGIN_DECLS
CompPluginVTable * getCompPluginInfo (void);
@@ -1400,9 +1400,7 @@ CompPluginVTable * getCompPluginInfo (void);
<xsl:call-template name="printOptionEnums"/>
<xsl:call-template name="printOptionMasks"/>
<xsl:call-template name="printFunctionDefinitions"/>
- <xsl:text>#ifdef __cplusplus
-}
-#endif
+ <xsl:text>COMPIZ_END_DECLS
#endif
</xsl:text>