Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
088fc70e
Commit
088fc70e
authored
Dec 26, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole: Improve typelib traces.
Move the debug channel check from dump_TLBFuncDesc[One] to its callers for more flexibility in which channel controls the output.
parent
c5dc3887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
typelib.c
dlls/oleaut32/typelib.c
+8
-6
No files found.
dlls/oleaut32/typelib.c
View file @
088fc70e
...
...
@@ -1145,8 +1145,6 @@ static const char * typekind_desc[] =
static
void
dump_TLBFuncDescOne
(
const
TLBFuncDesc
*
pfd
)
{
int
i
;
if
(
!
TRACE_ON
(
typelib
))
return
;
MESSAGE
(
"%s(%u)
\n
"
,
debugstr_w
(
pfd
->
Name
),
pfd
->
funcdesc
.
cParams
);
for
(
i
=
0
;
i
<
pfd
->
funcdesc
.
cParams
;
i
++
)
MESSAGE
(
"
\t
parm%d: %s
\n
"
,
i
,
debugstr_w
(
pfd
->
pParamDesc
[
i
].
Name
));
...
...
@@ -1282,14 +1280,16 @@ static void dump_DispParms(const DISPPARAMS * pdp)
static
void
dump_TypeInfo
(
const
ITypeInfoImpl
*
pty
)
{
TRACE
(
"%p ref=%lu
\n
"
,
pty
,
pty
->
ref
);
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
pty
->
Name
),
debugstr_w
(
pty
->
DocString
));
TRACE
(
"attr:%s
\n
"
,
debugstr_guid
(
&
(
pty
->
TypeAttr
.
guid
)));
TRACE
(
"kind:%s
\n
"
,
typekind_desc
[
pty
->
TypeAttr
.
typekind
]);
TRACE
(
"fct:%u var:%u impl:%u
\n
"
,
pty
->
TypeAttr
.
cFuncs
,
pty
->
TypeAttr
.
cVars
,
pty
->
TypeAttr
.
cImplTypes
);
TRACE
(
"wTypeFlags: 0x%04x
\n
"
,
pty
->
TypeAttr
.
wTypeFlags
);
TRACE
(
"parent tlb:%p index in TLB:%u
\n
"
,
pty
->
pTypeLib
,
pty
->
index
);
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
pty
->
Name
),
debugstr_w
(
pty
->
DocString
));
if
(
pty
->
TypeAttr
.
typekind
==
TKIND_MODULE
)
TRACE
(
"dllname:%s
\n
"
,
debugstr_w
(
pty
->
DllName
));
dump_TLBFuncDesc
(
pty
->
funclist
);
if
(
TRACE_ON
(
ole
))
dump_TLBFuncDesc
(
pty
->
funclist
);
dump_TLBVarDesc
(
pty
->
varlist
);
dump_TLBImplType
(
pty
->
impltypelist
);
}
...
...
@@ -2968,7 +2968,8 @@ static SLTG_TypeInfoTail *SLTG_ProcessInterface(char *pBlk, ITypeInfoImpl *pTI,
if
(
pFunc
->
next
==
0xffff
)
break
;
}
pTI
->
TypeAttr
.
cFuncs
=
num
;
dump_TLBFuncDesc
(
pTI
->
funclist
);
if
(
TRACE_ON
(
typelib
))
dump_TLBFuncDesc
(
pTI
->
funclist
);
return
(
SLTG_TypeInfoTail
*
)(
pFirstItem
+
pMemHeader
->
cbExtra
);
}
...
...
@@ -5593,7 +5594,8 @@ static HRESULT WINAPI ITypeInfo_fnGetDllEntry( ITypeInfo2 *iface, MEMBERID memid
for
(
pFDesc
=
This
->
funclist
;
pFDesc
;
pFDesc
=
pFDesc
->
next
)
if
(
pFDesc
->
funcdesc
.
memid
==
memid
){
dump_TypeInfo
(
This
);
dump_TLBFuncDescOne
(
pFDesc
);
if
(
TRACE_ON
(
ole
))
dump_TLBFuncDescOne
(
pFDesc
);
if
(
pBstrDllName
)
*
pBstrDllName
=
SysAllocString
(
This
->
DllName
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment