This commit is contained in:
Romain Thomas 2017-09-07 22:23:57 +02:00
parent 8cb45485df
commit 8ecaab0a7c

View File

@ -103,6 +103,12 @@ void init_MachO_SegmentCommand_class(py::module& m) {
) )
.def_property("flags",
static_cast<getter_t<uint32_t>>(&SegmentCommand::flags),
static_cast<setter_t<uint32_t>>(&SegmentCommand::flags),
"Segment's flags"
)
.def("__eq__", &SegmentCommand::operator==) .def("__eq__", &SegmentCommand::operator==)
.def("__ne__", &SegmentCommand::operator!=) .def("__ne__", &SegmentCommand::operator!=)
.def("__hash__", .def("__hash__",