summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-03-19 20:19:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-03-19 20:19:06 (GMT)
commit40b7936a5b3f8e9a17fc7dd0d587a1c700074643 (patch)
treed7954e334bb212cd2f5817d2951e6daa1ef62999 /test
parent721b337b157aac9002b92418bdf3d526c0d8b784 (diff)
downloadhdf5-40b7936a5b3f8e9a17fc7dd0d587a1c700074643.zip
hdf5-40b7936a5b3f8e9a17fc7dd0d587a1c700074643.tar.gz
hdf5-40b7936a5b3f8e9a17fc7dd0d587a1c700074643.tar.bz2
[svn-r23387] Add dynamic windows decorations
Diffstat (limited to 'test')
-rw-r--r--test/plugin_lib/dynlib1.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/test/plugin_lib/dynlib1.h b/test/plugin_lib/dynlib1.h
index f3bb8c3..9357b1b 100644
--- a/test/plugin_lib/dynlib1.h
+++ b/test/plugin_lib/dynlib1.h
@@ -19,15 +19,28 @@
*
* Purpose: Tests the plugin module (H5PL)
*/
+#ifndef DYNLIB1_H__
+#define DYNLIB1_H__
+
#include <stdlib.h>
#include <stdio.h>
#include <hdf5.h>
#define FILTER_DYNLIB1_VERS 1
-const H5PL_type_t H5PL_get_plugin_type(void);
-const H5Z_class2_t* H5PL_get_plugin_info(void);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ H5TEST_DLL const H5PL_type_t H5PL_get_plugin_type(void);
+ H5TEST_DLL const H5Z_class2_t* H5PL_get_plugin_info(void);
/* Local prototypes for filter functions */
-static size_t H5Z_filter_dynlib1(unsigned int flags, size_t cd_nelmts,
- const unsigned int *cd_values, size_t nbytes, size_t *buf_size, void **buf);
+ H5TEST_DLL static size_t H5Z_filter_dynlib1(unsigned int flags, size_t cd_nelmts,
+ const unsigned int *cd_values, size_t nbytes, size_t *buf_size, void **buf);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* DYNLIB1_H__ */