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
7080c8d9
Commit
7080c8d9
authored
Feb 09, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Better ns*String handling.
parent
8aeb0493
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsembed.c
dlls/mshtml/nsembed.c
+9
-2
nsiface.idl
dlls/mshtml/nsiface.idl
+2
-2
No files found.
dlls/mshtml/mshtml_private.h
View file @
7080c8d9
...
...
@@ -151,6 +151,7 @@ void init_nsio(nsIComponentManager*,nsIComponentRegistrar*);
nsIURI
*
get_nsIURI
(
LPCWSTR
);
nsACString
*
nsACString_Create
(
void
);
PRUint32
nsACString_GetData
(
const
nsACString
*
,
const
char
**
,
PRBool
*
);
void
nsACString_SetData
(
nsACString
*
,
const
char
*
);
void
nsACString_Destroy
(
nsACString
*
);
...
...
dlls/mshtml/nsembed.c
View file @
7080c8d9
...
...
@@ -50,6 +50,13 @@ struct nsStringContainer {
void
*
d3
;
};
struct
nsCStringContainer
{
void
*
v
;
void
*
d1
;
PRUint32
d2
;
void
*
d3
;
};
static
nsresult
(
*
NS_InitXPCOM2
)(
nsIServiceManager
**
,
void
*
,
void
*
);
static
nsresult
(
*
NS_ShutdownXPCOM
)(
nsIServiceManager
*
);
static
nsresult
(
*
NS_GetComponentRegistrar
)(
nsIComponentRegistrar
**
);
...
...
@@ -60,7 +67,7 @@ static nsresult (*NS_CStringContainerFinish)(nsCStringContainer*);
static
nsresult
(
*
NS_StringSetData
)(
nsAString
*
,
const
PRUnichar
*
,
PRUint32
);
static
nsresult
(
*
NS_CStringSetData
)(
nsACString
*
,
const
char
*
,
PRUint32
);
static
nsresult
(
*
NS_NewLocalFile
)(
const
nsAString
*
,
PRBool
,
nsIFile
**
);
static
PRUint32
(
*
NS_CStringGetData
)(
nsACString
*
,
const
char
**
,
PRBool
*
);
static
PRUint32
(
*
NS_CStringGetData
)(
const
nsACString
*
,
const
char
**
,
PRBool
*
);
static
HINSTANCE
hXPCOM
=
NULL
;
...
...
@@ -370,7 +377,7 @@ void nsACString_SetData(nsACString *str, const char *data)
NS_CStringSetData
(
str
,
data
,
PR_UINT32_MAX
);
}
static
PRUint32
nsACString_GetData
(
nsACString
*
str
,
const
char
**
data
,
PRBool
*
termited
)
PRUint32
nsACString_GetData
(
const
nsACString
*
str
,
const
char
**
data
,
PRBool
*
termited
)
{
return
NS_CStringGetData
(
str
,
data
,
termited
);
}
...
...
dlls/mshtml/nsiface.idl
View file @
7080c8d9
...
...
@@ -46,9 +46,9 @@ typedef LARGE_INTEGER PRInt64;
typedef
ULARGE_INTEGER
PRUint64
;
typedef
PRUint64
DOMTimeStamp
;
typedef
struct
nsCStringContainer
nsCStringContainer
;
typedef
struct
nsStringContainer
nsStringContainer
;
typedef
nsStringContainer
nsCStringContainer
;
typedef
nsStringContainer
nsACString
;
typedef
nsCStringContainer
nsACString
;
typedef
nsStringContainer
nsAString
;
interface
nsIWebBrowserChrome
;
...
...
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