63 static const WCHAR trueW[] = {
't',
'r',
'u',
'e',0};
64 static const WCHAR falseW[] = {
'f',
'a',
'l',
's',
'e',0};
151 case DISPATCH_CONSTRUCT: {
203 static const WCHAR BooleanW[] = {
'B',
'o',
'o',
'l',
'e',
'a',
'n',0};
227 *
ret = &
bool->dispex;
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const builtin_info_t Bool_info
static const builtin_prop_t Bool_props[]
static const WCHAR valueOfW[]
BOOL bool_obj_value(jsdisp_t *obj)
HRESULT create_bool(script_ctx_t *ctx, BOOL b, jsdisp_t **ret)
static HRESULT alloc_bool(script_ctx_t *ctx, jsdisp_t *object_prototype, BoolInstance **ret)
static BoolInstance * bool_from_vdisp(vdisp_t *vdisp)
static BoolInstance * bool_from_jsdisp(jsdisp_t *jsdisp)
static HRESULT Bool_valueOf(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
static HRESULT Bool_value(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
static HRESULT Bool_toString(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
static const WCHAR toStringW[]
static BoolInstance * bool_this(vdisp_t *jsthis)
HRESULT create_bool_constr(script_ctx_t *ctx, jsdisp_t *object_prototype, jsdisp_t **ret)
static const builtin_info_t BoolInst_info
static HRESULT BoolConstr_value(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
HRESULT throw_type_error(script_ctx_t *ctx, HRESULT error, const WCHAR *str)
HRESULT create_builtin_constructor(script_ctx_t *ctx, builtin_invoke_t value_proc, const WCHAR *name, const builtin_info_t *builtin_info, DWORD flags, jsdisp_t *prototype, jsdisp_t **ret)
GLdouble GLdouble GLdouble r
GLboolean GLboolean GLboolean b
HRESULT init_dispex_from_constr(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *constr)
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
static const WCHAR BooleanW[]
static BOOL is_vclass(vdisp_t *vdisp, jsclass_t class)
#define JS_E_BOOLEAN_EXPECTED
static void jsdisp_release(jsdisp_t *jsdisp)
#define JS_E_FUNCTION_EXPECTED
HRESULT to_boolean(jsval_t, BOOL *) DECLSPEC_HIDDEN
static BOOL is_class(jsdisp_t *jsdisp, jsclass_t class)
static const WCHAR falseW[]
static const WCHAR trueW[]
static jsstr_t * jsstr_alloc(const WCHAR *str)
static jsval_t jsval_string(jsstr_t *str)
static jsval_t jsval_obj(jsdisp_t *obj)
static jsval_t jsval_bool(BOOL b)
#define CONTAINING_RECORD(address, type, field)