mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 937916 - Implement TrueValue() and FalseValue(). r=sfink
This commit is contained in:
parent
e85861c8cb
commit
014d210978
@ -1320,6 +1320,22 @@ BooleanValue(bool boo)
|
||||
return v;
|
||||
}
|
||||
|
||||
static inline Value
|
||||
TrueValue()
|
||||
{
|
||||
Value v;
|
||||
v.setBoolean(true);
|
||||
return v;
|
||||
}
|
||||
|
||||
static inline Value
|
||||
FalseValue()
|
||||
{
|
||||
Value v;
|
||||
v.setBoolean(false);
|
||||
return v;
|
||||
}
|
||||
|
||||
static inline Value
|
||||
ObjectValue(JSObject &obj)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user