Skip to content

Commit

Permalink
Export WasmAsyncSuccess enum, change signature of WasmAsyncResolvePro… (
Browse files Browse the repository at this point in the history
denoland#1046)

Export WasmAsyncSuccess enum, change signature of WasmAsyncResolvePromiseCallback
  • Loading branch information
bartlomieju committed Aug 13, 2022
1 parent 606fee5 commit 33e426b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/isolate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub enum WasmAsyncSuccess {
Fail,
}
pub type WasmAsyncResolvePromiseCallback = extern "C" fn(
*const Isolate,
*mut Isolate,
Local<Context>,
Local<PromiseResolver>,
Local<Value>,
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ pub use isolate::OwnedIsolate;
pub use isolate::PromiseHook;
pub use isolate::PromiseHookType;
pub use isolate::PromiseRejectCallback;
pub use isolate::WasmAsyncSuccess;
pub use isolate_create_params::CreateParams;
pub use module::*;
pub use object::*;
Expand Down

0 comments on commit 33e426b

Please sign in to comment.