Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-04 22:50:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-04 22:50:00 +0400
commit5129112072012b687428d574c011b08abfe0b678 (patch)
tree354abcf6f0610d8f1a372b827f298030299a1e67 /source/blender/freestyle/intern/view_map/ViewMapIterators.h
parent78d69a1e1598f9967738c6d2f3195e2540d274d0 (diff)
add c++/guardedalloc to more freestyle classes, also remove redundant 'public:'
Diffstat (limited to 'source/blender/freestyle/intern/view_map/ViewMapIterators.h')
-rw-r--r--source/blender/freestyle/intern/view_map/ViewMapIterators.h15
1 files changed, 15 insertions, 0 deletions
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