From 5129112072012b687428d574c011b08abfe0b678 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 4 Aug 2013 18:50:00 +0000 Subject: add c++/guardedalloc to more freestyle classes, also remove redundant 'public:' --- .../blender/freestyle/intern/view_map/ViewMapIterators.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source/blender/freestyle/intern/view_map/ViewMapIterators.h') diff --git a/source/blender/freestyle/intern/view_map/ViewMapIterators.h b/source/blender/freestyle/intern/view_map/ViewMapIterators.h index 72d439da8bd..2794d9028d2 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapIterators.h +++ b/source/blender/freestyle/intern/view_map/ViewMapIterators.h @@ -219,6 +219,11 @@ public: } return 0; } + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:orientedViewEdgeIterator") +#endif + }; } // ViewVertexInternal namespace @@ -390,6 +395,11 @@ private: FEdge *_previous_edge; FEdge *_next_edge; float _t; // curvilinear abscissa + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:SVertexIterator") +#endif + }; @@ -561,6 +571,11 @@ protected: bool _orientation; ViewEdge *_edge; ViewEdge *_begin; + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewEdgeIterator") +#endif + }; } // end of namespace ViewEdgeInternal -- cgit v1.2.3