mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
bug 203797 - IDispatch support should allow FUNC_VIRTUAL and FUNC_PUREVIRTUAL. r=adamloc, sr=alecf
This commit is contained in:
parent
d4c29471d3
commit
5d58c9449f
@ -51,7 +51,9 @@ inline
|
|||||||
PRBool IsReflectable(FUNCDESC * pFuncDesc)
|
PRBool IsReflectable(FUNCDESC * pFuncDesc)
|
||||||
{
|
{
|
||||||
return (pFuncDesc->wFuncFlags&FUNCFLAG_FRESTRICTED) == 0 &&
|
return (pFuncDesc->wFuncFlags&FUNCFLAG_FRESTRICTED) == 0 &&
|
||||||
pFuncDesc->funckind == FUNC_DISPATCH;
|
pFuncDesc->funckind == FUNC_DISPATCH ||
|
||||||
|
pFuncDesc->funckind == FUNC_PUREVIRTUAL ||
|
||||||
|
pFuncDesc->funckind == FUNC_VIRTUAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
XPCDispInterface::Allocator::Allocator(JSContext * cx, ITypeInfo * pTypeInfo) :
|
XPCDispInterface::Allocator::Allocator(JSContext * cx, ITypeInfo * pTypeInfo) :
|
||||||
|
Loading…
Reference in New Issue
Block a user