From 2a6178a618b38b5a878b13533479ea6cfb27e2fa Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 25 Jun 2001 22:57:03 +0000 Subject: [PATCH] export template functions properly from DLL --- panda/src/graph/allAttributesWrapper.h | 2 +- panda/src/graph/allTransitionsWrapper.h | 2 +- panda/src/graph/nodeAttribute.h | 3 ++- panda/src/graph/nodeAttributeWrapper.h | 2 +- panda/src/graph/nodeTransition.h | 3 ++- panda/src/graph/nodeTransitionWrapper.h | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/panda/src/graph/allAttributesWrapper.h b/panda/src/graph/allAttributesWrapper.h index 9b2dfe879f..ea3cb26d6e 100644 --- a/panda/src/graph/allAttributesWrapper.h +++ b/panda/src/graph/allAttributesWrapper.h @@ -72,7 +72,7 @@ private: NodeAttributes _attrib; }; -INLINE_GRAPH ostream &operator << (ostream &out, const AllAttributesWrapper &a); +EXPCL_PANDA INLINE_GRAPH ostream &operator << (ostream &out, const AllAttributesWrapper &a); #include "allAttributesWrapper.T" diff --git a/panda/src/graph/allTransitionsWrapper.h b/panda/src/graph/allTransitionsWrapper.h index 07bb4367b3..eb40518a39 100644 --- a/panda/src/graph/allTransitionsWrapper.h +++ b/panda/src/graph/allTransitionsWrapper.h @@ -131,7 +131,7 @@ private: friend class AllAttributesWrapper; }; -INLINE_GRAPH ostream &operator << (ostream &out, const AllTransitionsWrapper &ntw); +EXPCL_PANDA INLINE_GRAPH ostream &operator << (ostream &out, const AllTransitionsWrapper &ntw); #include "allTransitionsWrapper.T" diff --git a/panda/src/graph/nodeAttribute.h b/panda/src/graph/nodeAttribute.h index f385c4a95f..d035427537 100644 --- a/panda/src/graph/nodeAttribute.h +++ b/panda/src/graph/nodeAttribute.h @@ -112,7 +112,8 @@ private: static TypeHandle _type_handle; }; -INLINE_GRAPH ostream &operator << (ostream &out, const NodeAttribute &nab); +EXPCL_PANDA INLINE_GRAPH ostream & +operator << (ostream &out, const NodeAttribute &nab); #ifndef DONT_INLINE_GRAPH #include "nodeAttribute.I" diff --git a/panda/src/graph/nodeAttributeWrapper.h b/panda/src/graph/nodeAttributeWrapper.h index 0b192eb5a0..5166795d01 100644 --- a/panda/src/graph/nodeAttributeWrapper.h +++ b/panda/src/graph/nodeAttributeWrapper.h @@ -60,7 +60,7 @@ private: PT(NodeAttribute) _attrib; }; -INLINE_GRAPH ostream &operator << (ostream &out, const NodeAttributeWrapper &naw); +EXPCL_PANDA INLINE_GRAPH ostream &operator << (ostream &out, const NodeAttributeWrapper &naw); #include "nodeAttributeWrapper.T" diff --git a/panda/src/graph/nodeTransition.h b/panda/src/graph/nodeTransition.h index 01cd585b08..ba76df36a5 100644 --- a/panda/src/graph/nodeTransition.h +++ b/panda/src/graph/nodeTransition.h @@ -143,7 +143,8 @@ private: friend class NodeTransitionCache; }; -INLINE_GRAPH ostream &operator << (ostream &out, const NodeTransition &ntb); +EXPCL_PANDA INLINE_GRAPH ostream & +operator << (ostream &out, const NodeTransition &ntb); #ifndef DONT_INLINE_GRAPH #include "nodeTransition.I" diff --git a/panda/src/graph/nodeTransitionWrapper.h b/panda/src/graph/nodeTransitionWrapper.h index b321a995b2..9dce99ef04 100644 --- a/panda/src/graph/nodeTransitionWrapper.h +++ b/panda/src/graph/nodeTransitionWrapper.h @@ -95,7 +95,7 @@ private: friend class NodeAttributeWrapper; }; -INLINE_GRAPH ostream &operator << (ostream &out, const NodeTransitionWrapper &ntw); +EXPCL_PANDA INLINE_GRAPH ostream &operator << (ostream &out, const NodeTransitionWrapper &ntw); #ifndef DONT_INLINE_GRAPH #include "nodeTransitionWrapper.I"