diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-10-14 15:26:21 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:22 -0300 |
commit | fec8b8974eaba911ab8659cae3d651be9f27c757 (patch) | |
tree | e620184ebd3c58208676204bf93afdfe30be6535 /libshiboken/sbkenum.cpp | |
parent | 980f4119e332f6eff936b5061bb9a2bc28923e89 (diff) |
Fixed code style on sbkenum.cpp
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken/sbkenum.cpp')
-rw-r--r-- | libshiboken/sbkenum.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libshiboken/sbkenum.cpp b/libshiboken/sbkenum.cpp index e6da02d7f..c372f0b7a 100644 --- a/libshiboken/sbkenum.cpp +++ b/libshiboken/sbkenum.cpp @@ -109,8 +109,7 @@ static long getNumberValue(PyObject* v) } -static PyObject* -enum_and(PyObject *self, PyObject *b) +static PyObject* enum_and(PyObject* self, PyObject* b) { if (!PyNumber_Check(b)) { Py_INCREF(Py_NotImplemented); @@ -122,8 +121,7 @@ enum_and(PyObject *self, PyObject *b) return PyLong_FromLong(valA & valB); } -static PyObject* -enum_or(PyObject *self, PyObject *b) +static PyObject* enum_or(PyObject* self, PyObject* b) { if (!PyNumber_Check(b)) { Py_INCREF(Py_NotImplemented); @@ -135,8 +133,7 @@ enum_or(PyObject *self, PyObject *b) return PyLong_FromLong(valA | valB); } -static PyObject* -enum_xor(PyObject *self, PyObject *b) +static PyObject* enum_xor(PyObject* self, PyObject* b) { if (!PyNumber_Check(b)) { Py_INCREF(Py_NotImplemented); @@ -184,9 +181,7 @@ static PyObject* enum_divide(PyObject* self, PyObject* v) } #endif - -static PyObject * -enum_richcompare(PyObject *self, PyObject *other, int op) +static PyObject* enum_richcompare(PyObject* self, PyObject* other, int op) { int result = 0; if (!PyNumber_Check(other)) { |