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
cef2907d
Commit
cef2907d
authored
Jan 23, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of PRUint16 type.
parent
2d100f4e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
15 deletions
+14
-15
editor.c
dlls/mshtml/editor.c
+2
-2
htmlanchor.c
dlls/mshtml/htmlanchor.c
+1
-1
htmldoc3.c
dlls/mshtml/htmldoc3.c
+1
-1
htmlelemcol.c
dlls/mshtml/htmlelemcol.c
+1
-1
htmlevent.c
dlls/mshtml/htmlevent.c
+2
-2
htmlnode.c
dlls/mshtml/htmlnode.c
+2
-2
nsembed.c
dlls/mshtml/nsembed.c
+1
-1
nsiface.idl
dlls/mshtml/nsiface.idl
+1
-2
txtrange.c
dlls/mshtml/txtrange.c
+3
-3
No files found.
dlls/mshtml/editor.c
View file @
cef2907d
...
...
@@ -218,7 +218,7 @@ static void remove_child_attr(nsIDOMElement *elem, LPCWSTR tag, nsAString *attr_
PRUint32
child_cnt
,
i
;
nsIDOMNode
*
child_node
;
nsIDOMNodeList
*
node_list
;
PRUint
16
node_type
;
UINT
16
node_type
;
nsIDOMElement_HasChildNodes
(
elem
,
&
has_children
);
if
(
!
has_children
)
...
...
@@ -266,7 +266,7 @@ static void get_font_size(HTMLDocument *This, WCHAR *ret)
nsIDOMNode
*
node
=
NULL
,
*
tmp_node
;
nsAString
tag_str
;
LPCWSTR
tag
;
PRUint
16
node_type
;
UINT
16
node_type
;
nsresult
nsres
;
*
ret
=
0
;
...
...
dlls/mshtml/htmlanchor.c
View file @
cef2907d
...
...
@@ -646,7 +646,7 @@ static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid,
if
(
eid
==
EVENTID_CLICK
)
{
nsIDOMMouseEvent
*
mouse_event
;
PRUint
16
button
;
UINT
16
button
;
nsresult
nsres
;
TRACE
(
"CLICK
\n
"
);
...
...
dlls/mshtml/htmldoc3.c
View file @
cef2907d
...
...
@@ -74,7 +74,7 @@ HRESULT get_doc_elem_by_id(HTMLDocumentNode *doc, const WCHAR *id, HTMLElement *
assert
(
nsres
==
NS_OK
);
if
(
nsnode
&&
nselem
)
{
PRUint
16
pos
;
UINT
16
pos
;
nsres
=
nsIDOMNode_CompareDocumentPosition
(
nsnode
,
(
nsIDOMNode
*
)
nselem
,
&
pos
);
if
(
NS_FAILED
(
nsres
))
{
...
...
dlls/mshtml/htmlelemcol.c
View file @
cef2907d
...
...
@@ -79,7 +79,7 @@ static void elem_vector_normalize(elem_vector_t *buf)
static
inline
BOOL
is_elem_node
(
nsIDOMNode
*
node
)
{
PRUint
16
type
=
0
;
UINT
16
type
=
0
;
nsIDOMNode_GetNodeType
(
node
,
&
type
);
...
...
dlls/mshtml/htmlevent.c
View file @
cef2907d
...
...
@@ -564,7 +564,7 @@ static HRESULT WINAPI HTMLEventObj_get_keyCode(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_button
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRUint
16
button
=
0
;
UINT
16
button
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -1049,7 +1049,7 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e
BOOL
prevent_default
=
FALSE
;
HTMLInnerWindow
*
window
;
HTMLDOMNode
*
node
;
PRUint
16
node_type
;
UINT
16
node_type
;
nsresult
nsres
;
HRESULT
hres
;
...
...
dlls/mshtml/htmlnode.c
View file @
cef2907d
...
...
@@ -373,7 +373,7 @@ static HRESULT WINAPI HTMLDOMNode_Invoke(IHTMLDOMNode *iface, DISPID dispIdMembe
static
HRESULT
WINAPI
HTMLDOMNode_get_nodeType
(
IHTMLDOMNode
*
iface
,
LONG
*
p
)
{
HTMLDOMNode
*
This
=
impl_from_IHTMLDOMNode
(
iface
);
PRUint
16
type
=
-
1
;
UINT
16
type
=
-
1
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -1085,7 +1085,7 @@ void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsno
static
HRESULT
create_node
(
HTMLDocumentNode
*
doc
,
nsIDOMNode
*
nsnode
,
HTMLDOMNode
**
ret
)
{
PRUint
16
node_type
;
UINT
16
node_type
;
HRESULT
hres
;
nsIDOMNode_GetNodeType
(
nsnode
,
&
node_type
);
...
...
dlls/mshtml/nsembed.c
View file @
cef2907d
...
...
@@ -914,7 +914,7 @@ static HRESULT nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNo
nsIDOMNodeList
*
node_list
=
NULL
;
cpp_bool
has_children
=
FALSE
;
nsIContent
*
nscontent
;
PRUint
16
type
;
UINT
16
type
;
nsresult
nsres
;
nsIDOMNode_HasChildNodes
(
nsnode
,
&
has_children
);
...
...
dlls/mshtml/nsiface.idl
View file @
cef2907d
...
...
@@ -44,7 +44,6 @@ typedef nsIIDRef nsCIDRef;
typedef
WCHAR
PRUnichar
;
typedef
ULONG
PRUint32
;
typedef
WORD
PRUint16
;
typedef
ULONGLONG
PRUint64
;
/*
...
...
@@ -57,7 +56,7 @@ typedef ULONGLONG PRUint64;
#
define
int64_t
INT64
#
define
uint8_t
UINT8
#
define
uint16_t
PRUint
16
#
define
uint16_t
UINT
16
#
define
uint32_t
PRUint32
#
define
uint64_t
PRUint64
...
...
dlls/mshtml/txtrange.c
View file @
cef2907d
...
...
@@ -54,7 +54,7 @@ typedef struct {
}
wstrbuf_t
;
typedef
struct
{
PRUint
16
type
;
UINT
16
type
;
nsIDOMNode
*
node
;
PRUint32
off
;
nsAString
str
;
...
...
@@ -116,9 +116,9 @@ static int string_to_nscmptype(LPCWSTR str)
return
-
1
;
}
static
PRUint
16
get_node_type
(
nsIDOMNode
*
node
)
static
UINT
16
get_node_type
(
nsIDOMNode
*
node
)
{
PRUint
16
type
=
0
;
UINT
16
type
=
0
;
if
(
node
)
nsIDOMNode_GetNodeType
(
node
,
&
type
);
...
...
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