Refactor some parts of the Architecture:

* JSON visitor are located in the format namespace
  * Visitor are *real* visitor
  * Visitable class has been renamed to Object
  * Due to a bug in Visual Studio 2015, we move to VS2017
This commit is contained in:
Romain Thomas
2018-03-13 16:49:02 +01:00
parent a5c2922c83
commit 3b17aba10e
438 changed files with 8114 additions and 6004 deletions
@@ -18,7 +18,7 @@
#include <string>
#include <sstream>
#include "LIEF/visitors/Hash.hpp"
#include "LIEF/MachO/hash.hpp"
#include "LIEF/MachO/RelocationObject.hpp"
#include "pyMachO.hpp"
@@ -55,7 +55,7 @@ void init_MachO_RelocationObject_class(py::module& m) {
.def("__ne__", &RelocationObject::operator!=)
.def("__hash__",
[] (const RelocationObject& relocation) {
return LIEF::Hash::hash(relocation);
return Hash::hash(relocation);
})