Changed two callout comments
This commit is contained in:
parent
d9963b0312
commit
6d835e52f5
2 changed files with 3 additions and 3 deletions
|
|
@ -112,7 +112,7 @@ void export_value()
|
||||||
.def(init<balance_t>())
|
.def(init<balance_t>())
|
||||||
.def(init<mask_t>())
|
.def(init<mask_t>())
|
||||||
.def(init<std::string>())
|
.def(init<std::string>())
|
||||||
// jww (2009-11-02): Need to support conversion of sequences
|
// jww (2009-11-02): Need to support conversion eof value_t::sequence_t
|
||||||
//.def(init<value_t::sequence_t>())
|
//.def(init<value_t::sequence_t>())
|
||||||
.def(init<value_t>())
|
.def(init<value_t>())
|
||||||
|
|
||||||
|
|
@ -314,7 +314,7 @@ void export_value()
|
||||||
|
|
||||||
implicitly_convertible<long, value_t>();
|
implicitly_convertible<long, value_t>();
|
||||||
implicitly_convertible<string, value_t>();
|
implicitly_convertible<string, value_t>();
|
||||||
// jww (2009-11-02): ask mask objects here
|
// jww (2009-11-02): Add implicit conversion of mask objects
|
||||||
implicitly_convertible<date_t, value_t>();
|
implicitly_convertible<date_t, value_t>();
|
||||||
implicitly_convertible<datetime_t, value_t>();
|
implicitly_convertible<datetime_t, value_t>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -338,7 +338,7 @@ value_t python_interpreter_t::functor_t::operator()(call_scope_t& args)
|
||||||
if (val.check())
|
if (val.check())
|
||||||
return val();
|
return val();
|
||||||
#if 1
|
#if 1
|
||||||
// jww (2009-02-24): Distinguish between "no return" and a value with an
|
// jww (2009-02-24): Distinguish between "no return" and values with
|
||||||
// unconvertable type
|
// unconvertable type
|
||||||
return NULL_VALUE;
|
return NULL_VALUE;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue