diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-02 11:03:56 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-02 11:03:56 +0000 |
commit | 2a855899320951aa62141b35ef2b2d21109a060b (patch) | |
tree | f5677f8425c69cf3716d937477a15a81161e75fa | |
parent | b52ffba9cbe097a2726aaf1c0eaf4828937457fa (diff) |
Protected the functsion prototypes for c++ compilations.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@170 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | src/include/StoreNamedData.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/StoreNamedData.h b/src/include/StoreNamedData.h index 640af7ce..946db934 100644 --- a/src/include/StoreNamedData.h +++ b/src/include/StoreNamedData.h @@ -27,6 +27,10 @@ typedef struct PNamedData /* Function prototypes. */ +#ifdef _cplusplus +extern "C" { +#endif + /* Store the data. */ int StoreNamedData(pNamedData **list, const char *name, void *data); @@ -36,4 +40,8 @@ void *GetNamedData(pNamedData *list, const char *name); /* destroy the data. */ void DestroyNamedDataList(pNamedData *list); +#ifdef _cplusplus +} +#endif + #endif |