X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fbindings%2FGuile.hxx;fp=src%2Fbindings%2FGuile.hxx;h=5de69080be4e464229e627e4b314f78ef19f9c6c;hp=0000000000000000000000000000000000000000;hb=7cc1f7b923b7859a7469e6a651d4a87bc48c4772;hpb=30bd2ac7409f9d7496708b77a404fd69be291387 diff --git a/src/bindings/Guile.hxx b/src/bindings/Guile.hxx new file mode 100644 index 0000000..5de6908 --- /dev/null +++ b/src/bindings/Guile.hxx @@ -0,0 +1,21 @@ +#ifndef INCLUDE__Guile_hxx_ +#define INCLUDE__Guile_hxx_ + +#include + +#include "Interpreter.hxx" + +class GuileInterpreter : public Interpreter { +public: + GuileInterpreter(); + + int evaluate(const std::string& command, + std::ostream& stdout, + std::ostream& stderr, + std::string& result); +private: + SCM guile_output_port; + SCM guile_error_port; +}; + +#endif /* INCLUDE__Guile_hxx_ */