Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
69aa9f9d
Commit
69aa9f9d
authored
Dec 12, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OLE: Add const to several typelib functions.
Add const attributes to parameters for several functions and fix up some formatting.
parent
e7299cdf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
typelib.c
dlls/oleaut32/typelib.c
+4
-4
No files found.
dlls/oleaut32/typelib.c
View file @
69aa9f9d
...
...
@@ -85,7 +85,7 @@ WINE_DECLARE_DEBUG_CHANNEL(typelib);
/* The OLE Automation ProxyStub Interface Class (aka Typelib Marshaler) */
const
GUID
CLSID_PSOAInterface
=
{
0x00020424
,
0
,
0
,
{
0xC0
,
0
,
0
,
0
,
0
,
0
,
0
,
0x46
}
};
static
HRESULT
typedescvt_to_variantvt
(
ITypeInfo
*
tinfo
,
TYPEDESC
*
tdesc
,
VARTYPE
*
vt
);
static
HRESULT
typedescvt_to_variantvt
(
ITypeInfo
*
tinfo
,
const
TYPEDESC
*
tdesc
,
VARTYPE
*
vt
);
static
HRESULT
TLB_AllocAndInitVarDesc
(
const
VARDESC
*
src
,
VARDESC
**
dest_ptr
);
/****************************************************************************
...
...
@@ -5054,7 +5054,7 @@ _copy_arg( ITypeInfo2 *tinfo, TYPEDESC *tdesc,
return
E_FAIL
;
}
static
HRESULT
userdefined_to_variantvt
(
ITypeInfo
*
tinfo
,
TYPEDESC
*
tdesc
,
VARTYPE
*
vt
)
static
HRESULT
userdefined_to_variantvt
(
ITypeInfo
*
tinfo
,
const
TYPEDESC
*
tdesc
,
VARTYPE
*
vt
)
{
HRESULT
hr
=
S_OK
;
ITypeInfo
*
tinfo2
=
NULL
;
...
...
@@ -5118,7 +5118,7 @@ static HRESULT userdefined_to_variantvt(ITypeInfo *tinfo, TYPEDESC *tdesc, VARTY
return
hr
;
}
static
HRESULT
typedescvt_to_variantvt
(
ITypeInfo
*
tinfo
,
TYPEDESC
*
tdesc
,
VARTYPE
*
vt
)
static
HRESULT
typedescvt_to_variantvt
(
ITypeInfo
*
tinfo
,
const
TYPEDESC
*
tdesc
,
VARTYPE
*
vt
)
{
HRESULT
hr
=
S_OK
;
...
...
@@ -5134,7 +5134,7 @@ static HRESULT typedescvt_to_variantvt(ITypeInfo *tinfo, TYPEDESC *tdesc, VARTYP
((
tdesc
->
vt
==
VT_PTR
)
&&
(
tdesc
->
u
.
lptdesc
->
vt
==
VT_USERDEFINED
)))
{
VARTYPE
vt_userdefined
=
0
;
TYPEDESC
*
tdesc_userdefined
=
tdesc
;
const
TYPEDESC
*
tdesc_userdefined
=
tdesc
;
if
(
tdesc
->
vt
==
VT_PTR
)
{
vt_userdefined
=
VT_BYREF
;
...
...
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