From cb3ff73396853bd2470e075633d9a1459d92f583 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 21 Aug 2008 20:04:23 +0000 Subject: [PATCH] publish PTA::empty_array() --- panda/src/express/pointerToArray.h | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/express/pointerToArray.h b/panda/src/express/pointerToArray.h index c7f21ad2ba..4d216bab39 100644 --- a/panda/src/express/pointerToArray.h +++ b/panda/src/express/pointerToArray.h @@ -106,6 +106,7 @@ public: PUBLISHED: typedef TYPENAME pvector::size_type size_type; INLINE PointerToArray(TypeHandle type_handle = get_type_handle(Element)); + INLINE static PointerToArray empty_array(size_type n, TypeHandle type_handle = get_type_handle(Element)); INLINE PointerToArray(const PointerToArray ©); INLINE size_type size() const; INLINE const Element &get_element(size_type n) const;