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
1616f81d
Commit
1616f81d
authored
Jan 14, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut: Add const attribute to iterators in get functions.
parent
0b2c0d83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
typelib.c
dlls/oleaut32/typelib.c
+13
-13
No files found.
dlls/oleaut32/typelib.c
View file @
1616f81d
...
@@ -4628,8 +4628,8 @@ static HRESULT WINAPI ITypeInfo_fnGetNames( ITypeInfo2 *iface, MEMBERID memid,
...
@@ -4628,8 +4628,8 @@ static HRESULT WINAPI ITypeInfo_fnGetNames( ITypeInfo2 *iface, MEMBERID memid,
BSTR
*
rgBstrNames
,
UINT
cMaxNames
,
UINT
*
pcNames
)
BSTR
*
rgBstrNames
,
UINT
cMaxNames
,
UINT
*
pcNames
)
{
{
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
TLBFuncDesc
*
pFDesc
;
const
TLBFuncDesc
*
pFDesc
;
TLBVarDesc
*
pVDesc
;
const
TLBVarDesc
*
pVDesc
;
int
i
;
int
i
;
TRACE
(
"(%p) memid=0x%08lx Maxname=%d
\n
"
,
This
,
memid
,
cMaxNames
);
TRACE
(
"(%p) memid=0x%08lx Maxname=%d
\n
"
,
This
,
memid
,
cMaxNames
);
for
(
pFDesc
=
This
->
funclist
;
pFDesc
&&
pFDesc
->
funcdesc
.
memid
!=
memid
;
pFDesc
=
pFDesc
->
next
);
for
(
pFDesc
=
This
->
funclist
;
pFDesc
&&
pFDesc
->
funcdesc
.
memid
!=
memid
;
pFDesc
=
pFDesc
->
next
);
...
@@ -4698,7 +4698,7 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType(
...
@@ -4698,7 +4698,7 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType(
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
int
i
;
int
i
;
HRESULT
hr
=
S_OK
;
HRESULT
hr
=
S_OK
;
TLBImplType
*
pImpl
=
This
->
impltypelist
;
const
TLBImplType
*
pImpl
=
This
->
impltypelist
;
TRACE
(
"(%p) index %d
\n
"
,
This
,
index
);
TRACE
(
"(%p) index %d
\n
"
,
This
,
index
);
if
(
TRACE_ON
(
ole
))
dump_TypeInfo
(
This
);
if
(
TRACE_ON
(
ole
))
dump_TypeInfo
(
This
);
...
@@ -4777,8 +4777,8 @@ static HRESULT WINAPI ITypeInfo_fnGetIDsOfNames( ITypeInfo2 *iface,
...
@@ -4777,8 +4777,8 @@ static HRESULT WINAPI ITypeInfo_fnGetIDsOfNames( ITypeInfo2 *iface,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
MEMBERID
*
pMemId
)
LPOLESTR
*
rgszNames
,
UINT
cNames
,
MEMBERID
*
pMemId
)
{
{
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
TLBFuncDesc
*
pFDesc
;
const
TLBFuncDesc
*
pFDesc
;
TLBVarDesc
*
pVDesc
;
const
TLBVarDesc
*
pVDesc
;
HRESULT
ret
=
S_OK
;
HRESULT
ret
=
S_OK
;
int
i
;
int
i
;
...
@@ -5446,8 +5446,8 @@ static HRESULT WINAPI ITypeInfo_fnGetDocumentation( ITypeInfo2 *iface,
...
@@ -5446,8 +5446,8 @@ static HRESULT WINAPI ITypeInfo_fnGetDocumentation( ITypeInfo2 *iface,
DWORD
*
pdwHelpContext
,
BSTR
*
pBstrHelpFile
)
DWORD
*
pdwHelpContext
,
BSTR
*
pBstrHelpFile
)
{
{
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
TLBFuncDesc
*
pFDesc
;
const
TLBFuncDesc
*
pFDesc
;
TLBVarDesc
*
pVDesc
;
const
TLBVarDesc
*
pVDesc
;
TRACE
(
"(%p) memid %ld Name(%p) DocString(%p)"
TRACE
(
"(%p) memid %ld Name(%p) DocString(%p)"
" HelpContext(%p) HelpFile(%p)
\n
"
,
" HelpContext(%p) HelpFile(%p)
\n
"
,
This
,
memid
,
pBstrName
,
pBstrDocString
,
pdwHelpContext
,
pBstrHelpFile
);
This
,
memid
,
pBstrName
,
pBstrDocString
,
pdwHelpContext
,
pBstrHelpFile
);
...
@@ -5497,7 +5497,7 @@ static HRESULT WINAPI ITypeInfo_fnGetDllEntry( ITypeInfo2 *iface, MEMBERID memid
...
@@ -5497,7 +5497,7 @@ static HRESULT WINAPI ITypeInfo_fnGetDllEntry( ITypeInfo2 *iface, MEMBERID memid
WORD
*
pwOrdinal
)
WORD
*
pwOrdinal
)
{
{
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
TLBFuncDesc
*
pFDesc
;
const
TLBFuncDesc
*
pFDesc
;
TRACE
(
"(%p)->(memid %lx, %d, %p, %p, %p)
\n
"
,
This
,
memid
,
invKind
,
pBstrDllName
,
pBstrName
,
pwOrdinal
);
TRACE
(
"(%p)->(memid %lx, %d, %p, %p, %p)
\n
"
,
This
,
memid
,
invKind
,
pBstrDllName
,
pBstrName
,
pwOrdinal
);
...
@@ -5831,7 +5831,7 @@ static HRESULT WINAPI ITypeInfo2_fnGetFuncIndexOfMemId( ITypeInfo2 * iface,
...
@@ -5831,7 +5831,7 @@ static HRESULT WINAPI ITypeInfo2_fnGetFuncIndexOfMemId( ITypeInfo2 * iface,
MEMBERID
memid
,
INVOKEKIND
invKind
,
UINT
*
pFuncIndex
)
MEMBERID
memid
,
INVOKEKIND
invKind
,
UINT
*
pFuncIndex
)
{
{
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
TLBFuncDesc
*
pFuncInfo
;
const
TLBFuncDesc
*
pFuncInfo
;
int
i
;
int
i
;
HRESULT
result
;
HRESULT
result
;
...
@@ -6055,8 +6055,8 @@ static HRESULT WINAPI ITypeInfo2_fnGetDocumentation2(
...
@@ -6055,8 +6055,8 @@ static HRESULT WINAPI ITypeInfo2_fnGetDocumentation2(
BSTR
*
pbstrHelpStringDll
)
BSTR
*
pbstrHelpStringDll
)
{
{
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
ITypeInfoImpl
*
This
=
(
ITypeInfoImpl
*
)
iface
;
TLBFuncDesc
*
pFDesc
;
const
TLBFuncDesc
*
pFDesc
;
TLBVarDesc
*
pVDesc
;
const
TLBVarDesc
*
pVDesc
;
TRACE
(
"(%p) memid %ld lcid(0x%lx) HelpString(%p) "
TRACE
(
"(%p) memid %ld lcid(0x%lx) HelpString(%p) "
"HelpStringContext(%p) HelpStringDll(%p)
\n
"
,
"HelpStringContext(%p) HelpStringDll(%p)
\n
"
,
This
,
memid
,
lcid
,
pbstrHelpString
,
pdwHelpStringContext
,
This
,
memid
,
lcid
,
pbstrHelpString
,
pdwHelpStringContext
,
...
@@ -6429,8 +6429,8 @@ static HRESULT WINAPI ITypeComp_fnBind(
...
@@ -6429,8 +6429,8 @@ static HRESULT WINAPI ITypeComp_fnBind(
BINDPTR
*
pBindPtr
)
BINDPTR
*
pBindPtr
)
{
{
ITypeInfoImpl
*
This
=
info_impl_from_ITypeComp
(
iface
);
ITypeInfoImpl
*
This
=
info_impl_from_ITypeComp
(
iface
);
TLBFuncDesc
*
pFDesc
;
const
TLBFuncDesc
*
pFDesc
;
TLBVarDesc
*
pVDesc
;
const
TLBVarDesc
*
pVDesc
;
TRACE
(
"(%s, %lx, 0x%x, %p, %p, %p)
\n
"
,
debugstr_w
(
szName
),
lHash
,
wFlags
,
ppTInfo
,
pDescKind
,
pBindPtr
);
TRACE
(
"(%s, %lx, 0x%x, %p, %p, %p)
\n
"
,
debugstr_w
(
szName
),
lHash
,
wFlags
,
ppTInfo
,
pDescKind
,
pBindPtr
);
...
...
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