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
+9 -1
View File
@@ -23,6 +23,9 @@
#include "pyMachO.hpp"
namespace LIEF {
namespace MachO {
template<class T>
using getter_t = T (ThreadCommand::*)(void) const;
@@ -30,7 +33,9 @@ template<class T>
using setter_t = void (ThreadCommand::*)(T);
void init_MachO_ThreadCommand_class(py::module& m) {
template<>
void create<ThreadCommand>(py::module& m) {
py::class_<ThreadCommand, LoadCommand>(m, "ThreadCommand")
@@ -76,3 +81,6 @@ void init_MachO_ThreadCommand_class(py::module& m) {
});
}
}
}