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
6ffe4cb5
Commit
6ffe4cb5
authored
Oct 25, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Moved return_type_t declaration to engine.c.
parent
4b6ad8c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
engine.c
dlls/jscript/engine.c
+10
-0
engine.h
dlls/jscript/engine.h
+1
-9
No files found.
dlls/jscript/engine.c
View file @
6ffe4cb5
...
...
@@ -32,6 +32,16 @@ WINE_DEFAULT_DEBUG_CHANNEL(jscript);
#define EXPR_NEWREF 0x0002
#define EXPR_STRREF 0x0004
struct
_return_type_t
{
enum
{
RT_NORMAL
,
RT_RETURN
,
RT_BREAK
,
RT_CONTINUE
}
type
;
jsexcept_t
ei
;
};
static
inline
HRESULT
stat_eval
(
script_ctx_t
*
ctx
,
statement_t
*
stat
,
return_type_t
*
rt
,
VARIANT
*
ret
)
{
return
stat
->
eval
(
ctx
,
stat
,
rt
,
ret
);
...
...
dlls/jscript/engine.h
View file @
6ffe4cb5
...
...
@@ -156,15 +156,7 @@ typedef struct _variable_declaration_t {
struct
_variable_declaration_t
*
next
;
}
variable_declaration_t
;
typedef
struct
{
enum
{
RT_NORMAL
,
RT_RETURN
,
RT_BREAK
,
RT_CONTINUE
}
type
;
jsexcept_t
ei
;
}
return_type_t
;
typedef
struct
_return_type_t
return_type_t
;
typedef
HRESULT
(
*
statement_eval_t
)(
script_ctx_t
*
,
statement_t
*
,
return_type_t
*
,
VARIANT
*
);
...
...
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