mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-30 14:24:33 +00:00
Resolve #88
This commit is contained in:
parent
8cb45485df
commit
8ecaab0a7c
@ -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__",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user