mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
Resolve #119 and enhance ELF Python bindings
This commit is contained in:
@@ -23,13 +23,18 @@
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
namespace LIEF {
|
||||
namespace ELF {
|
||||
|
||||
template<class T>
|
||||
using getter_t = T (DynamicEntryRpath::*)(void) const;
|
||||
|
||||
template<class T>
|
||||
using setter_t = void (DynamicEntryRpath::*)(T);
|
||||
|
||||
void init_ELF_DynamicEntryRpath_class(py::module& m) {
|
||||
|
||||
template<>
|
||||
void create<DynamicEntryRpath>(py::module& m) {
|
||||
|
||||
//
|
||||
// Dynamic Entry RPATH object
|
||||
@@ -102,3 +107,6 @@ void init_ELF_DynamicEntryRpath_class(py::module& m) {
|
||||
return str;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user