mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=972983 use enum for BaseProxyHandler::Action values r=bholley
"inline" const static/class member initialization left missing symbols with gcc 4.7.3 --HG-- extra : rebase_source : 9e119ae9946e893b6113b838d49ab6384b472a99
This commit is contained in:
parent
2149abda39
commit
6d7ab34318
@ -146,11 +146,13 @@ class JS_FRIEND_API(BaseProxyHandler)
|
||||
* assertEnteredPolicy would pass GET | SET.
|
||||
*/
|
||||
typedef uint32_t Action;
|
||||
static const Action NONE = 0x00;
|
||||
static const Action GET = 0x01;
|
||||
static const Action SET = 0x02;
|
||||
static const Action CALL = 0x04;
|
||||
static const Action ENUMERATE = 0x08;
|
||||
enum {
|
||||
NONE = 0x00,
|
||||
GET = 0x01,
|
||||
SET = 0x02,
|
||||
CALL = 0x04,
|
||||
ENUMERATE = 0x08
|
||||
};
|
||||
|
||||
virtual bool enter(JSContext *cx, HandleObject wrapper, HandleId id, Action act,
|
||||
bool *bp);
|
||||
|
Loading…
Reference in New Issue
Block a user