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/winged_edge/WXEdge.h
parent78d69a1e1598f9967738c6d2f3195e2540d274d0 (diff)
add c++/guardedalloc to more freestyle classes, also remove redundant 'public:'
Diffstat (limited to 'source/blender/freestyle/intern/winged_edge/WXEdge.h')
-rw-r--r--source/blender/freestyle/intern/winged_edge/WXEdge.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/winged_edge/WXEdge.h b/source/blender/freestyle/intern/winged_edge/WXEdge.h
index f696e279ad0..364183bbc84 100644
--- a/source/blender/freestyle/intern/winged_edge/WXEdge.h
+++ b/source/blender/freestyle/intern/winged_edge/WXEdge.h
@@ -95,6 +95,11 @@ public:
{
return _curvatures;
}
+
+#ifdef WITH_CXX_GUARDEDALLOC
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXVertex")
+#endif
+
};
@@ -197,6 +202,11 @@ public:
{
_order = i;
}
+
+#ifdef WITH_CXX_GUARDEDALLOC
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXEdge")
+#endif
+
};
/**********************************
@@ -686,6 +696,11 @@ public:
(*wxf)->userdata = NULL;
}
}
+
+#ifdef WITH_CXX_GUARDEDALLOC
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXFace")
+#endif
+
};
@@ -782,6 +797,11 @@ public:
}
}
/*! accessors */
+
+#ifdef WITH_CXX_GUARDEDALLOC
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXShape")
+#endif
+
};
/*