Jacek Caban : jscript: Remove no longer used jsdisp_set_prototype.
Alexandre Julliard
julliard at winehq.org
Mon Sep 22 07:04:25 CDT 2008
Module: wine
Branch: master
Commit: 84b69fb1aaa9b05402cdcfd9663f0fbfd2ebf760
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84b69fb1aaa9b05402cdcfd9663f0fbfd2ebf760
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Sep 21 15:43:09 2008 +0200
jscript: Remove no longer used jsdisp_set_prototype.
---
dlls/jscript/dispex.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index 7f7dd8c..63f41fa 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -698,23 +698,6 @@ static IDispatchExVtbl DispatchExVtbl = {
DispatchEx_GetNameSpaceParent
};
-HRESULT jsdisp_set_prototype(DispatchEx *dispex, DispatchEx *prototype)
-{
- VARIANT *var;
-
- if(!dispex->props[1].name)
- return E_OUTOFMEMORY;
-
- dispex->props[1].type = PROP_VARIANT;
- dispex->props[1].flags = 0;
-
- var = &dispex->props[1].u.var;
- V_VT(var) = VT_DISPATCH;
- V_DISPATCH(var) = (IDispatch*)_IDispatchEx_(prototype);
-
- return S_OK;
-}
-
HRESULT init_dispex(DispatchEx *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, DispatchEx *prototype)
{
TRACE("%p (%p)\n", dispex, prototype);
More information about the wine-cvs
mailing list