Commit 8c147ace authored by David E. DeMarle's avatar David E. DeMarle

fix inconsistent dll linkage comp warning

parent ad4d88d6
......@@ -152,6 +152,11 @@
# undef XDMFDSM_TEMPLATE
# define XDMFDSM_TEMPLATE extern
# undef XDMFUTILS_EXPORT
# define XDMFUTILS_EXPORT __declspec(dllimport)
# undef XDMFUTILS_TEMPLATE
# define XDMFUTILS_TEMPLATE extern
# ifdef XDMF_EXPORTS
# define XDMF_EXPORT __declspec(dllexport)
# define XDMF_TEMPLATE
......@@ -159,7 +164,7 @@
# define XDMF_EXPORT __declspec(dllimport)
# define XDMF_TEMPLATE extern
# endif /* XDMF_EXPORTS */
#endif
#endif /* XDMFSTATIC */
/* Compiler Warnings */
#ifndef XDMF_DEBUG
......
......@@ -456,7 +456,8 @@ XDMFCORE_EXPORT char * XdmfItemGetItemTag(XDMFITEM * item);
#define XDMF_ITEM_C_CHILD_DECLARE(ClassName, CClassName, Level) \
\
Level##_EXPORT void ClassName##Accept ( CClassName * item, XDMFVISITOR * visitor, int * status); \
XDMFCORE_EXPORT void ClassName##Free(void * item); \
Level##_EXPORT CClassName * ClassName##Cast ( XDMFITEM * item); \
Level##_EXPORT void ClassName##Free(void * item); \
Level##_EXPORT XDMFINFORMATION * ClassName##GetInformation( CClassName * item, unsigned int index); \
Level##_EXPORT XDMFINFORMATION * ClassName##GetInformationByKey( CClassName * item, char * key); \
Level##_EXPORT unsigned int ClassName##GetNumberInformations( CClassName * item); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment