mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Added support for enums
[SVN r15222]
This commit is contained in:
@@ -10,6 +10,10 @@ BOOST_PYTHON_DECL detail::new_reference str::call(object const& arg_)
|
||||
arg_.ptr());
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL str::str()
|
||||
: object(detail::new_reference(PyString_FromString("")))
|
||||
{}
|
||||
|
||||
BOOST_PYTHON_DECL str::str(const char* s)
|
||||
: object(detail::new_reference(PyString_FromString(s)))
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user