| 5 | namespace LIEF::dwarf::py { |
| 6 | template<> |
| 7 | void create<dw::types::Pointer>(nb::module_& m) { |
| 8 | nb::class_<dw::types::Pointer, dw::Type> type(m, "Pointer", |
| 9 | R"doc( |
| 10 | This class represents a ``DW_TAG_pointer_type`` DWARF type. |
| 11 | )doc"_doc |
| 12 | ); |
| 13 | |
| 14 | type |
| 15 | .def_prop_ro("underlying_type", &dw::types::Pointer::underlying_type, |
| 16 | R"doc( |
| 17 | The type pointed by this pointer |
| 18 | )doc"_doc, nb::rv_policy::reference_internal |
| 19 | ) |
| 20 | ; |
| 21 | } |
| 22 | |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected