summaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-14 15:26:21 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-10-14 16:20:14 -0300
commit5ee637fd3725cd87cfaaa481c4171bbcb12e0cf9 (patch)
tree3cccf00af99fb410ccd79f5e576820ee412b7a13 /libshiboken
parent4ec9ca59a505eecdc7c1a7cd844b2340a5caf534 (diff)
downloadshiboken-5ee637fd3725cd87cfaaa481c4171bbcb12e0cf9.tar.gz
shiboken-5ee637fd3725cd87cfaaa481c4171bbcb12e0cf9.tar.xz
shiboken-5ee637fd3725cd87cfaaa481c4171bbcb12e0cf9.zip
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')
-rw-r--r--libshiboken/sbkenum.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/libshiboken/sbkenum.cpp b/libshiboken/sbkenum.cpp
index e6da02d7..c372f0b7 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)) {