Skip to content

Commit e13ebcd

Browse files
committed
Spirit: merging from trunk upto rev. 61489
[SVN r63640]
1 parent 63a3f18 commit e13ebcd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/boost/python/detail/wrap_python.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ typedef int pid_t;
182182
# define Py_REFCNT(o) (((PyObject*)(o))->ob_refcnt)
183183
# define Py_SIZE(o) (((PyVarObject*)(o))->ob_size)
184184

185-
# define PyVarObject_HEAD_INIT(type, size) \
186-
PyObject_HEAD_INIT(type) size,
185+
# define PyVarObject_HEAD_INIT(type, size) \
186+
PyObject_HEAD_INIT(type) size,
187187

188188
#endif
189189

test/exec.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ void exec_test()
6161
// Register the module with the interpreter
6262
if (PyImport_AppendInittab(const_cast<char*>("embedded_hello"),
6363
#if PY_VERSION_HEX >= 0x03000000
64-
PyInit_embedded_hello
64+
PyInit_embedded_hello
6565
#else
66-
initembedded_hello
66+
initembedded_hello
6767
#endif
68-
) == -1)
68+
) == -1)
6969
throw std::runtime_error("Failed to add embedded_hello to the interpreter's "
7070
"builtin modules");
7171
// Retrieve the main module

0 commit comments

Comments
 (0)