mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Stick Joel's revisions on a branch
[SVN r15358]
This commit is contained in:
@@ -124,7 +124,7 @@ BOOST_PYTHON_MODULE_INIT(extract_ext)
|
||||
;
|
||||
|
||||
object x_class(
|
||||
class_<X>("X", args<int>())
|
||||
class_<X>("X", init<int>())
|
||||
.def( "__repr__", x_rep));
|
||||
|
||||
// Instantiate an X object through the Python interface
|
||||
|
||||
Reference in New Issue
Block a user