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
61fde63f
Commit
61fde63f
authored
Aug 02, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Constify some variables.
parent
0cc08ccc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
ungif.c
dlls/oleaut32/ungif.c
+3
-3
usrmarshal.c
dlls/oleaut32/usrmarshal.c
+3
-2
No files found.
dlls/oleaut32/ungif.c
View file @
61fde63f
...
...
@@ -107,7 +107,7 @@ typedef struct GifFilePrivateType {
static
int
DGifGetWord
(
GifFileType
*
GifFile
,
GifWord
*
Word
);
static
int
DGifSetupDecompress
(
GifFileType
*
GifFile
);
static
int
DGifDecompressLine
(
GifFileType
*
GifFile
,
GifPixelType
*
Line
,
int
LineLen
);
static
int
DGifGetPrefixChar
(
GifPrefixType
*
Prefix
,
int
Code
,
int
ClearCode
);
static
int
DGifGetPrefixChar
(
const
GifPrefixType
*
Prefix
,
int
Code
,
int
ClearCode
);
static
int
DGifDecompressInput
(
GifFileType
*
GifFile
,
int
*
Code
);
static
int
DGifBufferedInput
(
GifFileType
*
GifFile
,
GifByteType
*
Buf
,
GifByteType
*
NextByte
);
...
...
@@ -192,7 +192,7 @@ FreeMapObject(ColorMapObject * Object) {
static
int
AddExtensionBlock
(
SavedImage
*
New
,
int
Len
,
unsigned
char
ExtData
[])
{
const
unsigned
char
ExtData
[])
{
ExtensionBlock
*
ep
;
...
...
@@ -723,7 +723,7 @@ DGifDecompressLine(GifFileType * GifFile,
* the maximum possible if image O.k. - LZ_MAX_CODE times.
*****************************************************************************/
static
int
DGifGetPrefixChar
(
GifPrefixType
*
Prefix
,
DGifGetPrefixChar
(
const
GifPrefixType
*
Prefix
,
int
Code
,
int
ClearCode
)
{
...
...
dlls/oleaut32/usrmarshal.c
View file @
61fde63f
...
...
@@ -268,7 +268,7 @@ static unsigned int get_type_size(ULONG *pFlags, const VARIANT *pvar)
}
}
static
unsigned
int
get_type_alignment
(
ULONG
*
pFlags
,
VARIANT
*
pvar
)
static
unsigned
int
get_type_alignment
(
ULONG
*
pFlags
,
const
VARIANT
*
pvar
)
{
unsigned
int
size
=
get_type_size
(
pFlags
,
pvar
);
if
(
V_VT
(
pvar
)
&
VT_BYREF
)
return
3
;
...
...
@@ -333,7 +333,8 @@ static ULONG wire_extra_user_size(ULONG *pFlags, ULONG Start, VARIANT *pvar)
}
/* helper: called for VT_DISPATCH variants to marshal the IDispatch* into the buffer. returns Buffer on failure, new position otherwise */
static
unsigned
char
*
interface_variant_marshal
(
ULONG
*
pFlags
,
unsigned
char
*
Buffer
,
REFIID
riid
,
IUnknown
*
punk
)
static
unsigned
char
*
interface_variant_marshal
(
const
ULONG
*
pFlags
,
unsigned
char
*
Buffer
,
REFIID
riid
,
IUnknown
*
punk
)
{
IStream
*
working
;
HGLOBAL
working_mem
;
...
...
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