From 8ecaab0a7cd69efef4aa3b68edab1e362f455eca Mon Sep 17 00:00:00 2001 From: Romain Thomas Date: Thu, 7 Sep 2017 22:23:57 +0200 Subject: [PATCH] Resolve #88 --- api/python/MachO/objects/pySegmentCommand.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/python/MachO/objects/pySegmentCommand.cpp b/api/python/MachO/objects/pySegmentCommand.cpp index f8313c9..f53ca84 100644 --- a/api/python/MachO/objects/pySegmentCommand.cpp +++ b/api/python/MachO/objects/pySegmentCommand.cpp @@ -103,6 +103,12 @@ void init_MachO_SegmentCommand_class(py::module& m) { ) + .def_property("flags", + static_cast>(&SegmentCommand::flags), + static_cast>(&SegmentCommand::flags), + "Segment's flags" + ) + .def("__eq__", &SegmentCommand::operator==) .def("__ne__", &SegmentCommand::operator!=) .def("__hash__",