JSValue JSC_HOST_CALL jsXSLTProcessorPrototypeFunctionClearParameters(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.isObject(&JSXSLTProcessor::s_info)) return throwError(exec, TypeError); JSXSLTProcessor* castedThisObj = static_cast<JSXSLTProcessor*>(asObject(thisValue)); XSLTProcessor* imp = static_cast<XSLTProcessor*>(castedThisObj->impl()); imp->clearParameters(); return jsUndefined(); }
static v8::Handle<v8::Value> clearParametersCallback(const v8::Arguments& args) { XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); imp->clearParameters(); return v8Undefined(); }