oleaut32: Move the debug logging of the variable type in SLTG_DoVars.
Move it before loading of the constant data to allow better debugging of problems during the processing of loading the constant data.
This commit is contained in:
parent
48c5a06916
commit
0ed6ebfec1
|
@ -3135,6 +3135,12 @@ static void SLTG_DoVars(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI, unsign
|
|||
SLTG_DoElem(pType, pBlk,
|
||||
&(*ppVarDesc)->vardesc.elemdescVar, ref_lookup);
|
||||
|
||||
if (TRACE_ON(typelib)) {
|
||||
char buf[300];
|
||||
dump_TypeDesc(&(*ppVarDesc)->vardesc.elemdescVar.tdesc, buf);
|
||||
TRACE_(typelib)("elemdescVar: %s\n", buf);
|
||||
}
|
||||
|
||||
if (pItem->flags & 0x40) {
|
||||
TRACE_(typelib)("VAR_DISPATCH\n");
|
||||
(*ppVarDesc)->vardesc.varkind = VAR_DISPATCH;
|
||||
|
@ -3186,12 +3192,6 @@ static void SLTG_DoVars(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI, unsign
|
|||
if (pItem->flags & 0x80)
|
||||
(*ppVarDesc)->vardesc.wVarFlags |= VARFLAG_FREADONLY;
|
||||
|
||||
if (TRACE_ON(typelib)) {
|
||||
char buf[300];
|
||||
dump_TypeDesc(&(*ppVarDesc)->vardesc.elemdescVar.tdesc, buf);
|
||||
TRACE_(typelib)("elemdescVar: %s\n", buf);
|
||||
}
|
||||
|
||||
bstrPrevName = (*ppVarDesc)->Name;
|
||||
ppVarDesc = &((*ppVarDesc)->next);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue