Skip to content

Commit 6795a28

Browse files
committed
tabs to spaces
[SVN r21080]
1 parent f369e22 commit 6795a28

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

include/boost/python/detail/dealloc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ namespace boost { namespace python { namespace detail {
1515
}
1616
}
1717
}}} // namespace boost::python::detail
18-
# endif // BOOST_PYTHON_DETAIL_DEALLOC_HPP_
18+
# endif // BOOST_PYTHON_DETAIL_DEALLOC_HPP_

include/boost/python/object/make_instance.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ struct make_instance_impl
2626

2727
PyTypeObject* type = Derived::get_class_object(x);
2828

29-
if (type == 0)
30-
return python::detail::none();
29+
if (type == 0)
30+
return python::detail::none();
3131

3232
PyObject* raw_result = type->tp_alloc(
3333
type, objects::additional_instance_size<Holder>::value);

include/boost/python/object/make_ptr_instance.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ struct make_ptr_instance
3535
template <class U>
3636
static inline PyTypeObject* get_class_object_impl(U const volatile* p)
3737
{
38-
if (p == 0)
39-
return 0; // means "return None".
38+
if (p == 0)
39+
return 0; // means "return None".
4040

4141
PyTypeObject* derived = get_derived_class_object(
4242
BOOST_DEDUCED_TYPENAME is_polymorphic<U>::type(), p);

include/boost/python/opaque_pointer_converter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ PyTypeObject opaque_pointer_converter<Pointer>::type_object =
133133
} \
134134
}}
135135
# endif
136-
# endif // OPAQUE_POINTER_CONVERTER_HPP_
136+
# endif // OPAQUE_POINTER_CONVERTER_HPP_

test/defaults.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ BOOST_PYTHON_MODULE(defaults_ext)
153153
def("bar", (object(*)(int, char, std::string, double))0, bar_stubs());
154154

155155
class_<Y>("Y", init<>("doc of Y init")) // this should work
156-
.def("get_state", &Y::get_state)
156+
.def("get_state", &Y::get_state)
157157
;
158158

159159
class_<X>("X")

test/submod_subclass_api.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int test()
137137
api::run_simple_string("import sm_test");
138138
if(api::call_statement("_0 = bpl_test('sub modules', sm_test.sm.sm2.test_func, _1)", test_func()))
139139
return 1;
140-
return 0;
140+
return 0;
141141
}
142142

143143
}
@@ -179,7 +179,7 @@ int test()
179179
return 1;
180180
if(api::call_statement("_0 = bpl_test('sub classes', lambda : sc_test.c1().t.n, _1.n)", test_func()))
181181
return 1;
182-
return 0;
182+
return 0;
183183
}
184184

185185
}
@@ -205,7 +205,7 @@ int main(int argc, char* argv[])
205205
}
206206
// clean up
207207
Py_Finalize();
208-
return rtn;
208+
return rtn;
209209
}
210210

211211
char *bpl_test =

0 commit comments

Comments
 (0)