Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -141,17 +141,17 @@ |
/** |
* Evaluates a JavaScript expression. |
* @param source JavaScript expression to evaluate. |
* @param filename Optional file name for the expression, used in error |
* messages. |
* @return Result of the evaluated expression. |
*/ |
- JsValuePtr Evaluate(const std::string& source, |
+ JsValue Evaluate(const std::string& source, |
const std::string& filename = ""); |
/** |
* Initiates a garbage collection. |
*/ |
void Gc(); |
//@{ |