mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).
This commit is contained in:
parent
2173a6b94c
commit
6e29637654
@ -2881,7 +2881,7 @@ SweepDoubles(JSRuntime *rt)
|
||||
|
||||
namespace js {
|
||||
|
||||
void
|
||||
JS_FRIEND_API(void)
|
||||
BackgroundSweepTask::replenishAndFreeLater(void *ptr)
|
||||
{
|
||||
JS_ASSERT(freeCursor == freeCursorEnd);
|
||||
|
@ -383,7 +383,8 @@ class BackgroundSweepTask : public JSBackgroundTask {
|
||||
void **freeCursor;
|
||||
void **freeCursorEnd;
|
||||
|
||||
void replenishAndFreeLater(void *ptr);
|
||||
JS_FRIEND_API(void)
|
||||
replenishAndFreeLater(void *ptr);
|
||||
|
||||
static void freeElementsAndArray(void **array, void **end) {
|
||||
JS_ASSERT(array <= end);
|
||||
|
Loading…
Reference in New Issue
Block a user