@@ -49,8 +49,8 @@ void init_ELF_Section_class(py::module& m) {
49
49
" .. warning:: The value will probably change when re-building binary." )
50
50
51
51
.def_property (" type" ,
52
- static_cast <getter_t <SECTION_TYPES >>(&Section::type),
53
- static_cast <setter_t <SECTION_TYPES >>(&Section::type),
52
+ static_cast <getter_t <ELF_SECTION_TYPES >>(&Section::type),
53
+ static_cast <setter_t <ELF_SECTION_TYPES >>(&Section::type),
54
54
" Return a " RST_CLASS_REF (lief.ELF .SECTION_TYPES ) " " )
55
55
56
56
.def_property (" flags" ,
@@ -118,7 +118,7 @@ void init_ELF_Section_class(py::module& m) {
118
118
119
119
120
120
.def (" has" ,
121
- static_cast <bool (Section::*)(SECTION_FLAGS ) const >(&Section::has),
121
+ static_cast <bool (Section::*)(ELF_SECTION_FLAGS ) const >(&Section::has),
122
122
" Check if the given " RST_CLASS_REF (lief.ELF .SECTION_FLAGS ) " is present" ,
123
123
" flag" _a)
124
124
@@ -135,11 +135,11 @@ void init_ELF_Section_class(py::module& m) {
135
135
return LIEF::Hash::hash (section);
136
136
})
137
137
138
- .def (py::self += SECTION_FLAGS ())
139
- .def (py::self -= SECTION_FLAGS ())
138
+ .def (py::self += ELF_SECTION_FLAGS ())
139
+ .def (py::self -= ELF_SECTION_FLAGS ())
140
140
141
141
.def (" __contains__" ,
142
- static_cast <bool (Section::*)(SECTION_FLAGS ) const >(&Section::has),
142
+ static_cast <bool (Section::*)(ELF_SECTION_FLAGS ) const >(&Section::has),
143
143
" Check if the given " RST_CLASS_REF (lief.ELF .SECTION_FLAGS ) " is present" )
144
144
145
145
0 commit comments