From 9da4cab9fdc63505b9f0e7f96214cc03ca9ad554 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 2 Feb 2013 04:48:21 +0000 Subject: style cleanup: comment format --- source/gameengine/Expressions/EmptyValue.cpp | 28 +++++++++++++------------- source/gameengine/Expressions/PyObjectPlus.cpp | 8 ++++---- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'source/gameengine/Expressions') diff --git a/source/gameengine/Expressions/EmptyValue.cpp b/source/gameengine/Expressions/EmptyValue.cpp index 2bb8f69ac51..8170c588a28 100644 --- a/source/gameengine/Expressions/EmptyValue.cpp +++ b/source/gameengine/Expressions/EmptyValue.cpp @@ -30,9 +30,9 @@ CEmptyValue::CEmptyValue() /* -pre: -effect: constructs a new CEmptyValue -*/ + * pre: + * effect: constructs a new CEmptyValue + */ { SetModified(false); } @@ -41,9 +41,9 @@ effect: constructs a new CEmptyValue CEmptyValue::~CEmptyValue() /* -pre: -effect: deletes the object -*/ + * pre: + * effect: deletes the object + */ { } @@ -52,10 +52,10 @@ effect: deletes the object CValue * CEmptyValue::Calc(VALUE_OPERATOR op, CValue * val) /* -pre: -ret: a new object containing the result of applying operator op to this -object and val -*/ + * pre: + * ret: a new object containing the result of applying operator op to this + * object and val + */ { return val->CalcFinal(VALUE_EMPTY_TYPE, op, this); @@ -65,10 +65,10 @@ object and val CValue * CEmptyValue::CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue * val) /* -pre: the type of val is dtype -ret: a new object containing the result of applying operator op to val and -this object -*/ + * pre: the type of val is dtype + * ret: a new object containing the result of applying operator op to val and + * this object + */ { return val->AddRef(); } diff --git a/source/gameengine/Expressions/PyObjectPlus.cpp b/source/gameengine/Expressions/PyObjectPlus.cpp index 4e910a885eb..52ad95c71b6 100644 --- a/source/gameengine/Expressions/PyObjectPlus.cpp +++ b/source/gameengine/Expressions/PyObjectPlus.cpp @@ -43,7 +43,7 @@ * Center for the Neural Basis of Cognition (CNBC) * http://www.python.org/doc/PyCPP.html * -------------------------------*/ + * ----------------------------- */ #include #include @@ -103,7 +103,7 @@ void PyObjectPlus::InvalidateProxy() // check typename of each parent /*------------------------------ * PyObjectPlus Type -- Every class, even the abstract one should have a Type -------------------------------*/ + * ----------------------------- */ PyTypeObject PyObjectPlus::Type = { @@ -217,8 +217,8 @@ PyObject *PyObjectPlus::py_base_new(PyTypeObject *type, PyObject *args, PyObject } /** - * \param self A PyObjectPlus_Proxy - */ + * \param self A PyObjectPlus_Proxy + */ void PyObjectPlus::py_base_dealloc(PyObject *self) // python wrapper { #ifdef USE_WEAKREFS -- cgit v1.2.3