Skip to content

Commit 4e45ca5

Browse files
committed
wip
1 parent c512ea4 commit 4e45ca5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/binding.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3015,11 +3015,13 @@ v8::StartupData v8__SnapshotCreator__CreateBlob(
30153015
// Rust-side callbacks for trait-based CustomPlatform (PlatformImpl trait).
30163016
// `this` is a pointer to the CustomPlatform instance, used by Rust to
30173017
// recover the Box<dyn PlatformImpl> stored at the same offset.
3018+
extern "C" {
30183019
void v8__Platform__CustomPlatform__BASE__onForegroundTaskPosted(
30193020
void* this_, void* isolate, double delay_in_seconds);
30203021
void v8__Platform__CustomPlatform__BASE__onIsolateShutdown(void* this_,
30213022
void* isolate);
30223023
void v8__Platform__CustomPlatform__BASE__DROP(void* this_);
3024+
}
30233025

30243026
// TaskRunner wrapper that intercepts all PostTask* calls and dispatches
30253027
// to the Rust PlatformImpl trait via the CustomPlatform context.

0 commit comments

Comments
 (0)