Jelajahi Sumber

export more nested classes

David Rose 14 tahun lalu
induk
melakukan
5ba97d2ccc
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      panda/src/gobj/geomVertexData.h

+ 2 - 2
panda/src/gobj/geomVertexData.h

@@ -229,7 +229,7 @@ public:
   // separate class so we can easily look up a new entry in the map,
   // separate class so we can easily look up a new entry in the map,
   // without having to execute the relatively expensive CacheEntry
   // without having to execute the relatively expensive CacheEntry
   // constructor.
   // constructor.
-  class CacheKey {
+  class EXPCL_PANDA_GOBJ CacheKey {
   public:
   public:
     INLINE CacheKey(const GeomVertexFormat *modifier);
     INLINE CacheKey(const GeomVertexFormat *modifier);
     INLINE bool operator < (const CacheKey &other) const;
     INLINE bool operator < (const CacheKey &other) const;
@@ -237,7 +237,7 @@ public:
     CPT(GeomVertexFormat) _modifier;
     CPT(GeomVertexFormat) _modifier;
   };
   };
   // It is not clear why MSVC7 needs this class to be public.  
   // It is not clear why MSVC7 needs this class to be public.  
-  class CacheEntry : public GeomCacheEntry {
+  class EXPCL_PANDA_GOBJ CacheEntry : public GeomCacheEntry {
   public:
   public:
     INLINE CacheEntry(GeomVertexData *source,
     INLINE CacheEntry(GeomVertexData *source,
                       const GeomVertexFormat *modifier);
                       const GeomVertexFormat *modifier);