#####################
SET(CMAKE_SWIG_FLAGS -Linkage passive)
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DSWIGWORDSIZE64)
+endif()
#FIND_PACKAGE(PythonLibs)
#INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})
SET_SOURCE_FILES_PROPERTIES(src/bindings/guile/frida.i PROPERTIES CPLUSPLUS ON)
%include <std_map.i>
%include <stl.i>
- // noone knows how to get these working
-%ignore beginFunctions();
-%ignore endFunctions();
-%ignore beginBasicBlocks();
-%ignore endBasicBlocks();
-
%{
#include "core/Function.hxx"
#include "core/BasicBlock.hxx"
%}
namespace std {
- %template(BasicBlockMap) map<unsigned long, BasicBlock*>;
- %template(FunctionMap) map<unsigned long, Function*>;
- %template(InterpreterMap) map<std::string, Interpreter*>;
+ /* %template(wearethepeople) map<uint64_t, BasicBlock*>; */
+ /* %template(FunctionMap) map<uint64_t, Function*>; */
+ /* %template(InterpreterMap) map<std::string, Interpreter*>; */
}
%inline %{