oleaut32: Constify some variables
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Jul 2 15:14:59 CDT 2007
Changelog:
oleaut32: Constify some variables.
diff -urN a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
--- a/dlls/oleaut32/olefont.c 2007-02-20 20:19:57.000000000 +0000
+++ b/dlls/oleaut32/olefont.c 2007-07-02 20:53:17.000000000 +0100
@@ -176,7 +176,7 @@
* Prototypes for the implementation functions for the IFont
* interface
*/
-static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc);
+static OLEFontImpl* OLEFontImpl_Construct(const FONTDESC *fontDesc);
static void OLEFontImpl_Destroy(OLEFontImpl* fontDesc);
static ULONG WINAPI OLEFontImpl_AddRef(IFont* iface);
@@ -2201,7 +2201,7 @@
* The caller of this method must release the object when it's
* done with it.
*/
-static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc)
+static OLEFontImpl* OLEFontImpl_Construct(const FONTDESC *fontDesc)
{
OLEFontImpl* newObject = 0;
diff -urN a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c
--- a/dlls/oleaut32/safearray.c 2006-12-28 13:41:34.000000000 +0000
+++ b/dlls/oleaut32/safearray.c 2007-07-02 20:40:43.000000000 +0100
@@ -204,7 +204,7 @@
}
/* Create an array */
-static SAFEARRAY* SAFEARRAY_Create(VARTYPE vt, UINT cDims, SAFEARRAYBOUND *rgsabound, ULONG ulSize)
+static SAFEARRAY* SAFEARRAY_Create(VARTYPE vt, UINT cDims, const SAFEARRAYBOUND *rgsabound, ULONG ulSize)
{
SAFEARRAY *psa = NULL;
int i;
More information about the wine-patches
mailing list