jscript: Moved return_type_t declaration to engine.c.
This commit is contained in:
parent
4b6ad8c219
commit
6ffe4cb59f
|
@ -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);
|
||||
|
|
|
@ -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*);
|
||||
|
||||
|
|
Loading…
Reference in New Issue