| 6 | namespace LIEF::objc::py { |
| 7 | template<> |
| 8 | void create<objc::Property>(nb::module_& m) { |
| 9 | nb::class_<objc::Property> prop(m, "Property", |
| 10 | R"doc( |
| 11 | This class represents a ``@property`` in Objective-C |
| 12 | )doc"_doc |
| 13 | ); |
| 14 | |
| 15 | prop |
| 16 | .def_prop_ro("name", &objc::Property::name, |
| 17 | R"doc( |
| 18 | Name of the property |
| 19 | )doc"_doc |
| 20 | ) |
| 21 | .def_prop_ro("attribute", &objc::Property::attribute, |
| 22 | R"doc( |
| 23 | (raw) property's attributes (e.g. ``T@"NSString",C,D,N``) |
| 24 | )doc"_doc |
| 25 | ) |
| 26 | ; |
| 27 | } |
| 28 | |
| 29 | } |
nothing calls this directly
no outgoing calls
no test coverage detected