mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
Fix return type (#965)
This commit is contained in:
@@ -42,7 +42,10 @@ void create<Section>(nb::module_& m) {
|
||||
"Section's name"_doc)
|
||||
|
||||
.def_prop_ro("fullname",
|
||||
&Section::fullname,
|
||||
[] (const Section& obj) {
|
||||
const std::string& fullname = obj.fullname();
|
||||
return nb::bytes(fullname.data(), fullname.size());
|
||||
},
|
||||
"Return the **fullname** of the section including the trailing bytes"_doc)
|
||||
|
||||
.def_prop_rw("size",
|
||||
|
||||
Reference in New Issue
Block a user