0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00

Export WasmAsyncSuccess enum, change signature of WasmAsyncResolvePro… (#1046)

Export WasmAsyncSuccess enum, change signature of WasmAsyncResolvePromiseCallback
This commit is contained in:
Bartek Iwańczuk 2022-08-13 17:55:56 +02:00 committed by GitHub
parent 606fee5ec7
commit 33e426bfe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -100,7 +100,7 @@ pub enum WasmAsyncSuccess {
Fail, Fail,
} }
pub type WasmAsyncResolvePromiseCallback = extern "C" fn( pub type WasmAsyncResolvePromiseCallback = extern "C" fn(
*const Isolate, *mut Isolate,
Local<Context>, Local<Context>,
Local<PromiseResolver>, Local<PromiseResolver>,
Local<Value>, Local<Value>,

View file

@ -107,6 +107,7 @@ pub use isolate::OwnedIsolate;
pub use isolate::PromiseHook; pub use isolate::PromiseHook;
pub use isolate::PromiseHookType; pub use isolate::PromiseHookType;
pub use isolate::PromiseRejectCallback; pub use isolate::PromiseRejectCallback;
pub use isolate::WasmAsyncSuccess;
pub use isolate_create_params::CreateParams; pub use isolate_create_params::CreateParams;
pub use module::*; pub use module::*;
pub use object::*; pub use object::*;