File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
include/boost/python/detail Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments