mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
No issue - Remove "code" from jsprototype.h macros
Based-on: m-c 1394084
This commit is contained in:
parent
7d2b83fafc
commit
41c2b34542
8 changed files with 68 additions and 69 deletions
|
|
@ -984,8 +984,8 @@ LookupStdName(const JSAtomState& names, JSAtom* name, const JSStdName* table)
|
|||
* JSProtoKey does not correspond to a class with a meaningful constructor, we
|
||||
* insert a null entry into the table.
|
||||
*/
|
||||
#define STD_NAME_ENTRY(name, code, init, clasp) { EAGER_ATOM(name), static_cast<JSProtoKey>(code) },
|
||||
#define STD_DUMMY_ENTRY(name, code, init, dummy) { 0, JSProto_Null },
|
||||
#define STD_NAME_ENTRY(name, init, clasp) { EAGER_ATOM(name), JSProto_##name },
|
||||
#define STD_DUMMY_ENTRY(name, init, dummy) { 0, JSProto_Null },
|
||||
static const JSStdName standard_class_names[] = {
|
||||
JS_FOR_PROTOTYPES(STD_NAME_ENTRY, STD_DUMMY_ENTRY)
|
||||
{ 0, JSProto_LIMIT }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue