From 1f02b6128e6f7d4d5fffd9b46a19fc3507859371 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 12 Dec 2008 17:07:38 +0000 Subject: [PATCH] hello c++! git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5830 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/ExDLL/plugin.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Contrib/ExDLL/plugin.h b/Contrib/ExDLL/plugin.h index b7759dc0..732322f0 100644 --- a/Contrib/ExDLL/plugin.h +++ b/Contrib/ExDLL/plugin.h @@ -1,6 +1,10 @@ #ifndef ___NSIS_PLUGIN__H___ #define ___NSIS_PLUGIN__H___ +#ifdef __cplusplus +extern "C" { +#endif + #include "api.h" #ifndef NSISCALL @@ -56,4 +60,8 @@ void NSISCALL pushstring(const char *str); char * NSISCALL getuservariable(const int varnum); void NSISCALL setuservariable(const int varnum, const char *var); +#ifdef __cplusplus +} +#endif + #endif//!___NSIS_PLUGIN__H___