New windows NT/95 port using MSV5.0. To export DLL functions the
[yaz-moved-to-github.git] / include / nmem.h
index 5d46548..601770b 100644 (file)
@@ -28,7 +28,7 @@
 
 #ifndef NMEM_H
 #define NMEM_H
-
+#include <yconfig.h>
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -50,11 +50,11 @@ typedef struct nmem_control
 
 typedef struct nmem_control *NMEM;
 
-void nmem_reset(NMEM n);
-void *nmem_malloc(NMEM n, int size);
-int nmem_total(NMEM n);
-NMEM nmem_create(void);
-void nmem_destroy(NMEM n);
+YAZ_EXPORT void nmem_reset(NMEM n);
+YAZ_EXPORT void *nmem_malloc(NMEM n, int size);
+YAZ_EXPORT int nmem_total(NMEM n);
+YAZ_EXPORT NMEM nmem_create(void);
+YAZ_EXPORT void nmem_destroy(NMEM n);
 
 #ifdef __cplusplus
 }