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
dfc84bd9
Commit
dfc84bd9
authored
Apr 17, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Store IActiveScriptParseProcedure in ScriptHost.
parent
a0091573
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
script.c
dlls/mshtml/script.c
+12
-1
No files found.
dlls/mshtml/script.c
View file @
dfc84bd9
...
...
@@ -51,6 +51,7 @@ typedef struct {
IActiveScript
*
script
;
IActiveScriptParse
*
parse
;
IActiveScriptParseProcedure
*
parse_proc
;
SCRIPTSTATE
script_state
;
...
...
@@ -147,7 +148,12 @@ static BOOL init_script_engine(ScriptHost *script_host)
if
(
FAILED
(
hres
))
WARN
(
"AddNamedItem failed: %08x
\n
"
,
hres
);
/* FIXME: QI for IActiveScriptParseProcedure2 and IActiveScriptParseProcedure */
hres
=
IActiveScript_QueryInterface
(
script_host
->
script
,
&
IID_IActiveScriptParseProcedure2
,
(
void
**
)
&
script_host
->
parse_proc
);
if
(
FAILED
(
hres
))
{
/* FIXME: QI for IActiveScriptParseProcedure */
WARN
(
"Could not get IActiveScriptParseProcedure iface: %08x
\n
"
,
hres
);
}
return
TRUE
;
}
...
...
@@ -167,6 +173,11 @@ static void release_script_engine(ScriptHost *This)
IActiveScript_Close
(
This
->
script
);
default:
if
(
This
->
parse_proc
)
{
IActiveScriptParseProcedure_Release
(
This
->
parse_proc
);
This
->
parse_proc
=
NULL
;
}
if
(
This
->
parse
)
{
IActiveScriptParse_Release
(
This
->
parse
);
This
->
parse
=
NULL
;
...
...
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