jscript: Move the named_item_t definition.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gabriel Ivăncescu 2020-02-20 21:26:45 +01:00 committed by Alexandre Julliard
parent 3c517f502b
commit f6a4dda977

View file

@ -204,6 +204,14 @@ typedef HRESULT (*builtin_setter_t)(script_ctx_t*,jsdisp_t*,jsval_t);
HRESULT builtin_set_const(script_ctx_t*,jsdisp_t*,jsval_t) DECLSPEC_HIDDEN;
typedef struct named_item_t {
IDispatch *disp;
DWORD flags;
LPWSTR name;
struct named_item_t *next;
} named_item_t;
typedef struct {
const WCHAR *name;
builtin_invoke_t invoke;
@ -356,14 +364,6 @@ static inline BOOL is_digit(WCHAR c)
return '0' <= c && c <= '9';
}
typedef struct named_item_t {
IDispatch *disp;
DWORD flags;
LPWSTR name;
struct named_item_t *next;
} named_item_t;
typedef struct _cc_var_t cc_var_t;
typedef struct {