jscript: Remove no longer used jsdisp_set_prototype.
This commit is contained in:
parent
f8537b6eb9
commit
84b69fb1aa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue