MCPcopy Create free account
hub / github.com/lief-project/LIEF / Pointer>

Method Pointer>

api/python/src/DWARF/types/pyPointer.cpp:7–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace LIEF::dwarf::py {
6template<>
7void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected