From e47924e85297ff24b2b706939333d3b105ed57e5 Mon Sep 17 00:00:00 2001 From: William Lupton Date: Mon, 6 Mar 2000 20:21:31 +0000 Subject: [PATCH] added #ifdef __cplusplus extern C definition --- src/libCom/gpHash/gpHash.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/libCom/gpHash/gpHash.h b/src/libCom/gpHash/gpHash.h index 77931738e..a8f8ae50b 100644 --- a/src/libCom/gpHash/gpHash.h +++ b/src/libCom/gpHash/gpHash.h @@ -67,6 +67,10 @@ typedef struct{ void *userPvt; /*private for user*/ } GPHENTRY; +#ifdef __cplusplus +extern "C" { +#endif + /*tableSize must be power of 2 in range 256 to 65536*/ epicsShareFunc void epicsShareAPI gphInitPvt(void **ppvt,int tableSize); epicsShareFunc GPHENTRY * epicsShareAPI @@ -77,4 +81,9 @@ epicsShareFunc void epicsShareAPI gphDelete(void *pvt,const char *name,void *pvtid); epicsShareFunc void epicsShareAPI gphFreeMem(void *pvt); epicsShareFunc void epicsShareAPI gphDump(void *pvt); + +#ifdef __cplusplus +} +#endif + #endif /*INCgpHashh*/