Expose the commodity type to python as "Commodity".
This commit is contained in:
parent
08c7a530f8
commit
23117a58f2
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ void export_commodity()
|
|||
scope().attr("COMMODITY_WALKED") = COMMODITY_WALKED;
|
||||
|
||||
class_< commodity_t, bases<>,
|
||||
commodity_t, boost::noncopyable > ("commodity", no_init)
|
||||
commodity_t, boost::noncopyable > ("Commodity", no_init)
|
||||
.def(self == self)
|
||||
|
||||
.def("drop_flags", &commodity_t::drop_flags)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue