From 956d91e90f48ad3e4a881bb6d815dff14dd2663f Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Thu, 24 Jul 2008 11:59:55 +0200 Subject: [PATCH] Made mpdm.h usable from C++. --- mpdm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mpdm.h b/mpdm.h index 06f303a..c48f018 100644 --- a/mpdm.h +++ b/mpdm.h @@ -21,6 +21,10 @@ */ +#ifdef __cplusplus +extern "C" { +#endif + /* structural flags */ #define MPDM_STRING 0x00000001 /* data can be string-compared */ #define MPDM_MULTIPLE 0x00000002 /* data is multiple */ @@ -209,3 +213,7 @@ mpdm_t mpdm_app_dir(void); int mpdm_startup(void); void mpdm_shutdown(void); + +#ifdef __cplusplus +} +#endif -- 2.11.4.GIT