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
88ec9150
Commit
88ec9150
authored
Oct 24, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Store xmlbuf encoding as unsigned int.
Avoids enum casts when it's used for reader.
parent
5d7156f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
heap.c
dlls/webservices/heap.c
+1
-1
webservices_private.h
dlls/webservices/webservices_private.h
+2
-2
No files found.
dlls/webservices/heap.c
View file @
88ec9150
...
@@ -320,7 +320,7 @@ HRESULT WINAPI WsGetHeapProperty( WS_HEAP *handle, WS_HEAP_PROPERTY_ID id, void
...
@@ -320,7 +320,7 @@ HRESULT WINAPI WsGetHeapProperty( WS_HEAP *handle, WS_HEAP_PROPERTY_ID id, void
}
}
#define XML_BUFFER_INITIAL_ALLOCATED_SIZE 256
#define XML_BUFFER_INITIAL_ALLOCATED_SIZE 256
struct
xmlbuf
*
alloc_xmlbuf
(
WS_HEAP
*
heap
,
SIZE_T
size
,
WS_XML_WRITER_ENCODING_TYPE
encoding
,
WS_CHARSET
charset
,
struct
xmlbuf
*
alloc_xmlbuf
(
WS_HEAP
*
heap
,
SIZE_T
size
,
unsigned
int
encoding
,
WS_CHARSET
charset
,
const
WS_XML_DICTIONARY
*
dict_static
,
WS_XML_DICTIONARY
*
dict
)
const
WS_XML_DICTIONARY
*
dict_static
,
WS_XML_DICTIONARY
*
dict
)
{
{
struct
xmlbuf
*
ret
;
struct
xmlbuf
*
ret
;
...
...
dlls/webservices/webservices_private.h
View file @
88ec9150
...
@@ -27,7 +27,7 @@ struct xmlbuf
...
@@ -27,7 +27,7 @@ struct xmlbuf
WS_HEAP
*
heap
;
WS_HEAP
*
heap
;
WS_BYTES
bytes
;
WS_BYTES
bytes
;
SIZE_T
size
;
SIZE_T
size
;
WS_XML_WRITER_ENCODING_TYPE
encoding
;
unsigned
int
encoding
;
WS_CHARSET
charset
;
WS_CHARSET
charset
;
const
WS_XML_DICTIONARY
*
dict_static
;
const
WS_XML_DICTIONARY
*
dict_static
;
WS_XML_DICTIONARY
*
dict
;
WS_XML_DICTIONARY
*
dict
;
...
@@ -38,7 +38,7 @@ void *ws_alloc_zero( WS_HEAP *, SIZE_T );
...
@@ -38,7 +38,7 @@ void *ws_alloc_zero( WS_HEAP *, SIZE_T );
void
*
ws_realloc
(
WS_HEAP
*
,
void
*
,
SIZE_T
,
SIZE_T
);
void
*
ws_realloc
(
WS_HEAP
*
,
void
*
,
SIZE_T
,
SIZE_T
);
void
*
ws_realloc_zero
(
WS_HEAP
*
,
void
*
,
SIZE_T
,
SIZE_T
);
void
*
ws_realloc_zero
(
WS_HEAP
*
,
void
*
,
SIZE_T
,
SIZE_T
);
void
ws_free
(
WS_HEAP
*
,
void
*
,
SIZE_T
);
void
ws_free
(
WS_HEAP
*
,
void
*
,
SIZE_T
);
struct
xmlbuf
*
alloc_xmlbuf
(
WS_HEAP
*
,
SIZE_T
,
WS_XML_WRITER_ENCODING_TYPE
,
WS_CHARSET
,
struct
xmlbuf
*
alloc_xmlbuf
(
WS_HEAP
*
,
SIZE_T
,
unsigned
int
,
WS_CHARSET
,
const
WS_XML_DICTIONARY
*
,
WS_XML_DICTIONARY
*
);
const
WS_XML_DICTIONARY
*
,
WS_XML_DICTIONARY
*
);
void
free_xmlbuf
(
struct
xmlbuf
*
);
void
free_xmlbuf
(
struct
xmlbuf
*
);
...
...
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