mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 17:47:34 +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) \
|
#define ATTRS(_impl) \
|
||||||
reinterpret_cast<InternalAttr*>(&((_impl)->mBuffer[0]))
|
reinterpret_cast<InternalAttr*>((_impl)->mBuffer)
|
||||||
|
|
||||||
|
|
||||||
#define NS_IMPL_EXTRA_SIZE \
|
#define NS_IMPL_EXTRA_SIZE \
|
||||||
|
|
|
||||||
|
|
@ -93,20 +93,13 @@ private:
|
||||||
nsAttrValue mValue;
|
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
|
const InternalAttr* Attrs() const
|
||||||
{
|
{
|
||||||
return reinterpret_cast<const InternalAttr*>(&(mAttrs[0]));
|
return reinterpret_cast<const InternalAttr*>(mAttrs);
|
||||||
}
|
}
|
||||||
InternalAttr* Attrs()
|
InternalAttr* Attrs()
|
||||||
{
|
{
|
||||||
return reinterpret_cast<InternalAttr*>(&(mAttrs[0]));
|
return reinterpret_cast<InternalAttr*>(mAttrs);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t mAttrCount;
|
uint16_t mAttrCount;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue