mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 19:17:31 +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
|
|
@ -3196,8 +3196,8 @@ GetObjectSlotNameFunctor::operator()(JS::CallbackTracer* trc, char* buf, size_t
|
|||
pattern = "CLASS_OBJECT(%s)";
|
||||
if (false)
|
||||
;
|
||||
#define TEST_SLOT_MATCHES_PROTOTYPE(name,code,init,clasp) \
|
||||
else if ((code) == slot) { slotname = js_##name##_str; }
|
||||
#define TEST_SLOT_MATCHES_PROTOTYPE(name,init,clasp) \
|
||||
else if ((JSProto_##name) == slot) { slotname = js_##name##_str; }
|
||||
JS_FOR_EACH_PROTOTYPE(TEST_SLOT_MATCHES_PROTOTYPE)
|
||||
#undef TEST_SLOT_MATCHES_PROTOTYPE
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue