Enhance Python binding

This commit is contained in:
Romain Thomas
2018-06-08 14:58:00 +02:00
parent 3cdfb29612
commit 33a2af4b18
92 changed files with 903 additions and 379 deletions
+8 -1
View File
@@ -23,6 +23,10 @@
#include "pyMachO.hpp"
namespace LIEF {
namespace MachO {
template<class T>
using getter_t = T (DataInCode::*)(void) const;
@@ -30,7 +34,8 @@ template<class T>
using setter_t = void (DataInCode::*)(T);
void init_MachO_DataInCode_class(py::module& m) {
template<>
void create<DataInCode>(py::module& m) {
// Init Iterator
init_ref_iterator<DataInCode::it_entries>(m);
@@ -74,3 +79,5 @@ void init_MachO_DataInCode_class(py::module& m) {
});
}
}
}