فهرست منبع

export template functions properly from DLL

David Rose 24 سال پیش
والد
کامیت
2a6178a618

+ 1 - 1
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"
 

+ 1 - 1
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"
 

+ 2 - 1
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"

+ 1 - 1
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"
 

+ 2 - 1
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"

+ 1 - 1
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"