From fec8b8974eaba911ab8659cae3d651be9f27c757 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 14 Oct 2011 15:26:21 -0300 Subject: Fixed code style on sbkenum.cpp Reviewer: Marcelo Lira Lauro Moura Luciano Wolf --- libshiboken/sbkenum.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'libshiboken') 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)) { -- cgit v1.2.3