Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit c4058b6

Browse files
committed
Fixed Signature of External String Callbacks Trap
1 parent 8a24c80 commit c4058b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/glue.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ pub struct ReadableStreamUnderlyingSourceTraps {
7979
#[derive(Copy, Clone, Default)]
8080
pub struct JSExternalStringCallbacksTraps {
8181
pub finalize: ::std::option::Option<
82-
unsafe extern "C" fn(*const c_void, *mut ::libc::wchar_t)
82+
unsafe extern "C" fn(*const c_void, *mut u16)
8383
>,
8484
pub sizeOfBuffer: ::std::option::Option<
85-
unsafe extern "C" fn(*const c_void, *const ::libc::wchar_t, MallocSizeOf) -> ::libc::size_t
85+
unsafe extern "C" fn(*const c_void, *const u16, MallocSizeOf) -> ::libc::size_t
8686
>,
8787
}
8888

0 commit comments

Comments
 (0)