diff options
-rw-r--r-- | src/NewPUGHSlab.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/NewPUGHSlab.h b/src/NewPUGHSlab.h index a61c611..a1f1167 100644 --- a/src/NewPUGHSlab.h +++ b/src/NewPUGHSlab.h @@ -10,6 +10,15 @@ @@*/ +#ifndef _PUGHSLAB_PUGHSLAB_H_ +#define _PUGHSLAB_PUGHSLAB_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + + /* prototype of datatype conversion routines */ typedef void (*PUGHSlab_conversion_fn) (void *hdata, void *vdata, @@ -46,3 +55,10 @@ int NewHyperslab_GetHyperslab (cGH *GH, int hsize[/* hdim */]); PUGHSlab_conversion_fn PUGHSlab_GetDatatypeConversionFn (int vtype, int htype); + + +#ifdef __cplusplus +} +#endif + +#endif /* _PUGHSLAB_PUGHSLAB_H_ */ |