Expose the commodity type to python as "Commodity".

This commit is contained in:
John Wiegley 2009-01-28 17:16:47 -04:00
parent 08c7a530f8
commit 23117a58f2

View file

@ -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)