Browse Source

a few more publish fixes

David Rose 17 years ago
parent
commit
4684bf10c9

+ 2 - 2
panda/src/chan/animBundleNode.h

@@ -25,11 +25,11 @@
 ////////////////////////////////////////////////////////////////////
 //       Class : AnimBundleNode
 // Description : This is a node that contains a pointer to an
-//               AnimBundle.  Like AnimBundleNode, it exists solely to
+//               AnimBundle.  Like PartBundleNode, it exists solely to
 //               make it easy to store AnimBundles in the scene graph.
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDA_CHAN AnimBundleNode : public PandaNode {
-public:
+PUBLISHED:
   INLINE AnimBundleNode(const string &name, AnimBundle *bundle);
 
 protected:

+ 7 - 2
panda/src/chan/partBundleNode.h

@@ -27,8 +27,13 @@
 ////////////////////////////////////////////////////////////////////
 //       Class : PartBundleNode
 // Description : This is a node that contains a pointer to an
-//               PartBundle.  Like AnimBundleNode, it exists solely to
-//               make it easy to store PartBundles in the scene graph.
+//               PartBundle.  Like AnimBundleNode, it exists to make
+//               it easy to store PartBundles in the scene graph.
+//
+//               (Unlike AnimBundleNode, however, PartBundleNode has
+//               an additional function: it is also the base class of
+//               the Character node type, which adds additional
+//               functionality.)
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDA_CHAN PartBundleNode : public PandaNode {
 PUBLISHED:

+ 1 - 1
panda/src/egg/eggCoordinateSystem.h

@@ -30,7 +30,7 @@
 //               contained by this entry.
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDAEGG EggCoordinateSystem : public EggNode {
-public:
+PUBLISHED:
   INLINE EggCoordinateSystem(CoordinateSystem value = CS_default);
   INLINE EggCoordinateSystem(const EggCoordinateSystem &copy);
 

+ 2 - 0
panda/src/express/pointerToArray.h

@@ -245,6 +245,8 @@ public:
   // exportable interface here.
 #ifdef CPPPARSER
 PUBLISHED:
+  INLINE ConstPointerToArray(const PointerToArray<Element> &copy);
+  INLINE ConstPointerToArray(const ConstPointerToArray<Element> &copy);
   typedef TYPENAME pvector<Element>::size_type size_type;
   INLINE size_type size() const;
   INLINE const Element &get_element(size_type n) const;