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:
parent
606fee5ec7
commit
33e426bfe4
2 changed files with 2 additions and 1 deletions
|
@ -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>,
|
||||||
|
|
|
@ -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::*;
|
||||||
|
|
Loading…
Reference in a new issue