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
22d49376
Commit
22d49376
authored
Jan 28, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use NS_StringContainerInit2 instead of NS_StringContainerInit.
parent
4a400e15
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
nsembed.c
dlls/mshtml/nsembed.c
+5
-7
No files found.
dlls/mshtml/mshtml_private.h
View file @
22d49376
...
...
@@ -711,7 +711,7 @@ void nsfree(void*);
void
nsACString_SetData
(
nsACString
*
,
const
char
*
);
PRUint32
nsACString_GetData
(
const
nsACString
*
,
const
char
**
);
void
nsAString_Init
(
nsAString
*
,
const
PRUnichar
*
);
BOOL
nsAString_Init
(
nsAString
*
,
const
PRUnichar
*
);
void
nsAString_SetData
(
nsAString
*
,
const
PRUnichar
*
);
PRUint32
nsAString_GetData
(
const
nsAString
*
,
const
PRUnichar
**
);
void
nsAString_Finish
(
nsAString
*
);
...
...
dlls/mshtml/nsembed.c
View file @
22d49376
...
...
@@ -52,13 +52,13 @@ struct nsCStringContainer {
void
*
v
;
void
*
d1
;
PRUint32
d2
;
void
*
d3
;
PRUint32
d3
;
};
static
nsresult
(
*
NS_InitXPCOM2
)(
nsIServiceManager
**
,
void
*
,
void
*
);
static
nsresult
(
*
NS_ShutdownXPCOM
)(
nsIServiceManager
*
);
static
nsresult
(
*
NS_GetComponentRegistrar
)(
nsIComponentRegistrar
**
);
static
nsresult
(
*
NS_StringContainerInit
)(
nsStringContainer
*
);
static
nsresult
(
*
NS_StringContainerInit
2
)(
nsStringContainer
*
,
const
PRUnichar
*
,
PRUint32
,
PRUint32
);
static
nsresult
(
*
NS_CStringContainerInit
)(
nsCStringContainer
*
);
static
nsresult
(
*
NS_StringContainerFinish
)(
nsStringContainer
*
);
static
nsresult
(
*
NS_CStringContainerFinish
)(
nsCStringContainer
*
);
...
...
@@ -194,7 +194,7 @@ static BOOL load_xpcom(const PRUnichar *gre_path)
NS_DLSYM
(
NS_InitXPCOM2
);
NS_DLSYM
(
NS_ShutdownXPCOM
);
NS_DLSYM
(
NS_GetComponentRegistrar
);
NS_DLSYM
(
NS_StringContainerInit
);
NS_DLSYM
(
NS_StringContainerInit
2
);
NS_DLSYM
(
NS_CStringContainerInit
);
NS_DLSYM
(
NS_StringContainerFinish
);
NS_DLSYM
(
NS_CStringContainerFinish
);
...
...
@@ -555,11 +555,9 @@ static void nsACString_Finish(nsACString *str)
NS_CStringContainerFinish
(
str
);
}
void
nsAString_Init
(
nsAString
*
str
,
const
PRUnichar
*
data
)
BOOL
nsAString_Init
(
nsAString
*
str
,
const
PRUnichar
*
data
)
{
NS_StringContainerInit
(
str
);
if
(
data
)
nsAString_SetData
(
str
,
data
);
return
NS_SUCCEEDED
(
NS_StringContainerInit2
(
str
,
data
,
PR_UINT32_MAX
,
0
));
}
void
nsAString_SetData
(
nsAString
*
str
,
const
PRUnichar
*
data
)
...
...
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