mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 19:47:32 +09:00
1320408 - Part 15: Change NativeObject::addDataProperty to static method.
This commit is contained in:
parent
cc8cb910dd
commit
a2451c8234
6 changed files with 21 additions and 21 deletions
|
|
@ -741,10 +741,10 @@ class NativeObject : public ShapedObject
|
|||
bool allowDictionary = true);
|
||||
|
||||
/* Add a data property whose id is not yet in this scope. */
|
||||
Shape* addDataProperty(ExclusiveContext* cx,
|
||||
jsid id_, uint32_t slot, unsigned attrs);
|
||||
Shape* addDataProperty(ExclusiveContext* cx, HandlePropertyName name,
|
||||
uint32_t slot, unsigned attrs);
|
||||
static Shape* addDataProperty(ExclusiveContext* cx, HandleNativeObject obj,
|
||||
jsid id_, uint32_t slot, unsigned attrs);
|
||||
static Shape* addDataProperty(ExclusiveContext* cx, HandleNativeObject obj,
|
||||
HandlePropertyName name, uint32_t slot, unsigned attrs);
|
||||
|
||||
/* Add or overwrite a property for id in this scope. */
|
||||
static Shape*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue