X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fbindings%2FGuile.hxx;h=612f33bdfb1fb6b6170bf6d67caff9392b1ba93b;hp=d67a0ddf0ac55dcc0d64de6ff3df312210f55a39;hb=38f26697d6998845bacb1d44a92efe8f326a4820;hpb=b99a252c3503b095b6111b59b11a6659e42205c8 diff --git a/src/bindings/Guile.hxx b/src/bindings/Guile.hxx index d67a0dd..612f33b 100644 --- a/src/bindings/Guile.hxx +++ b/src/bindings/Guile.hxx @@ -2,6 +2,7 @@ #define INCLUDE__Guile_hxx_ #include +#include #include "Interpreter.hxx" @@ -24,8 +25,15 @@ public: std::string fileExtension() const {return "scm";} private: + int evaluateWithErrorHandling(SCM (*fun)(void *), + void* data, + std::ostream& stdout, + std::ostream& stderr, + std::string& result); + SCM guile_output_port; SCM guile_error_port; + log4cxx::LoggerPtr logger; }; #endif /* INCLUDE__Guile_hxx_ */