Add clang-format configuration.

For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
This commit is contained in:
Alexey Sokolov
2015-12-06 22:36:35 +00:00
parent 02f8749a8b
commit 33b0627d75
132 changed files with 12743 additions and 8904 deletions
+6 -4
View File
@@ -17,21 +17,23 @@
#pragma once
class CPyRetString {
public:
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);
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetString*"),
SWIG_POINTER_OWN);
}
};
class CPyRetBool {
public:
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);
return SWIG_NewInstanceObj(x, SWIG_TypeQuery("CPyRetBool*"),
SWIG_POINTER_OWN);
}
};