mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
parent
8358e22731
commit
02260b18f3
2 changed files with 3 additions and 17 deletions
|
|
@ -78,15 +78,8 @@ GetIndexFromCache(const nsAttrAndChildArray* aArray)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Due to a compiler bug in VisualAge C++ for AIX, we need to return the
|
||||
* address of the first index into mBuffer here, instead of simply returning
|
||||
* mBuffer itself.
|
||||
*
|
||||
* See Bug 231104 for more information.
|
||||
*/
|
||||
#define ATTRS(_impl) \
|
||||
reinterpret_cast<InternalAttr*>(&((_impl)->mBuffer[0]))
|
||||
reinterpret_cast<InternalAttr*>((_impl)->mBuffer)
|
||||
|
||||
|
||||
#define NS_IMPL_EXTRA_SIZE \
|
||||
|
|
|
|||
|
|
@ -93,20 +93,13 @@ private:
|
|||
nsAttrValue mValue;
|
||||
};
|
||||
|
||||
/**
|
||||
* Due to a compiler bug in VisualAge C++ for AIX, we need to return the
|
||||
* address of the first index into mAttrs here, instead of simply
|
||||
* returning mAttrs itself.
|
||||
*
|
||||
* See Bug 231104 for more information.
|
||||
*/
|
||||
const InternalAttr* Attrs() const
|
||||
{
|
||||
return reinterpret_cast<const InternalAttr*>(&(mAttrs[0]));
|
||||
return reinterpret_cast<const InternalAttr*>(mAttrs);
|
||||
}
|
||||
InternalAttr* Attrs()
|
||||
{
|
||||
return reinterpret_cast<InternalAttr*>(&(mAttrs[0]));
|
||||
return reinterpret_cast<InternalAttr*>(mAttrs);
|
||||
}
|
||||
|
||||
uint16_t mAttrCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue