mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
clang-format: switch tabs to spaces
I like tabs, but I have to admit that spaces make source code more consistent, because every editor/viewer tends to render tabs differently :(
This commit is contained in:
+14
-14
@@ -18,22 +18,22 @@
|
||||
|
||||
class CPyRetString {
|
||||
public:
|
||||
CString& s;
|
||||
CPyRetString(CString& S) : s(S) {}
|
||||
static PyObject* wrap(CString& S) {
|
||||
CPyRetString* x = new CPyRetString(S);
|
||||
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetString*"),
|
||||
SWIG_POINTER_OWN);
|
||||
}
|
||||
CString& s;
|
||||
CPyRetString(CString& S) : s(S) {}
|
||||
static PyObject* wrap(CString& S) {
|
||||
CPyRetString* x = new CPyRetString(S);
|
||||
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetString*"),
|
||||
SWIG_POINTER_OWN);
|
||||
}
|
||||
};
|
||||
|
||||
class CPyRetBool {
|
||||
public:
|
||||
bool& b;
|
||||
CPyRetBool(bool& B) : b(B) {}
|
||||
static PyObject* wrap(bool& B) {
|
||||
CPyRetBool* x = new CPyRetBool(B);
|
||||
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetBool*"),
|
||||
SWIG_POINTER_OWN);
|
||||
}
|
||||
bool& b;
|
||||
CPyRetBool(bool& B) : b(B) {}
|
||||
static PyObject* wrap(bool& B) {
|
||||
CPyRetBool* x = new CPyRetBool(B);
|
||||
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetBool*"),
|
||||
SWIG_POINTER_OWN);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user