| 14 | namespace LIEF::dwarf::py { |
| 15 | template<> |
| 16 | void create<dw::editor::Type>(nb::module_& m) { |
| 17 | nb::class_<dw::editor::Type>(m, "Type", |
| 18 | R"doc( |
| 19 | This class is the base class for any types created when editing DWARF debug |
| 20 | info. |
| 21 | |
| 22 | A type is owned by a :class:`lief.dwarf.editor.CompilationUnit` and should be |
| 23 | created from this class. |
| 24 | )doc"_doc |
| 25 | ) |
| 26 | .def("pointer_to", &dw::editor::Type::pointer_to, |
| 27 | "Create a pointer type pointing to this type"_doc) |
| 28 | ; |
| 29 | |
| 30 | create<LIEF::dwarf::editor::PointerType>(m); |
| 31 | create<LIEF::dwarf::editor::EnumType>(m); |
| 32 | create<LIEF::dwarf::editor::BaseType>(m); |
| 33 | create<LIEF::dwarf::editor::ArrayType>(m); |
| 34 | create<LIEF::dwarf::editor::FunctionType>(m); |
| 35 | create<LIEF::dwarf::editor::TypeDef>(m); |
| 36 | create<LIEF::dwarf::editor::StructType>(m); |
| 37 | } |
| 38 | |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected