]> git.siccegge.de Git - frida/frida.git/blobdiff - src/bindings/guile/frida.i
Fix SWIG generation for maps
[frida/frida.git] / src / bindings / guile / frida.i
index c8b80b6cbc8b4a7ee618a82a069365aecc3c0666..bc3bff434abbb53dccabde1d42d9e6b64cf31852 100644 (file)
@@ -8,12 +8,6 @@
 %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"
@@ -24,9 +18,9 @@
 %}
 
 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 %{