From 2a70a69d92d1bd6071ff6ea76d724b458b4c2287 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 8 Dec 2010 03:52:21 +0000 Subject: Move JavaScript eval functions to the js module. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043295 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/http/http.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/modules/http/http.hpp') diff --git a/sca-cpp/trunk/modules/http/http.hpp b/sca-cpp/trunk/modules/http/http.hpp index b6ec9d4e5a..ad3ae84821 100644 --- a/sca-cpp/trunk/modules/http/http.hpp +++ b/sca-cpp/trunk/modules/http/http.hpp @@ -306,7 +306,7 @@ const failable evalExpr(const value& expr, const string& url, const CURLS debug(expr, "http::evalExpr::input"); // Convert expression to a JSON-RPC request - json::JSONContext cx; + js::JSContext cx; const failable > jsreq = json::jsonRequest(1, car(expr), cdr(expr), cx); if (!hasContent(jsreq)) return mkfailure(reason(jsreq)); @@ -422,7 +422,7 @@ const failable get(const string& url, const CURLSession& cs) { return val; } if (contains(ct, "text/javascript") || contains(ct, "application/json")) { - json::JSONContext cx; + js::JSContext cx; const value val(json::jsonValues(content(json::readJSON(ls, cx)))); debug(val, "http::get::result"); return val; -- cgit v1.2.3