mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
AK: Expose the memory offset of Vector's outline buffer pointer
This commit is contained in:
parent
bdce36dddb
commit
0bbf230e4f
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/awesomekling
Commit: 0bbf230e4f
Pull-request: https://github.com/SerenityOS/serenity/pull/21822
Reviewed-by: https://github.com/DanShaders
Reviewed-by: https://github.com/Hendiadyoin1
1 changed files with 2 additions and 0 deletions
|
@ -811,6 +811,8 @@ public:
|
||||||
AK::swap(at(i), at(size() - i - 1));
|
AK::swap(at(i), at(size() - i - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static FlatPtr outline_buffer_offset() { return OFFSET_OF(Vector, m_outline_buffer); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void reset_capacity()
|
void reset_capacity()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue