Skip to content

Commit 8d71a20

Browse files
author
Ben Grant
committed
lowercase c
1 parent 8010d14 commit 8d71a20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bun.js/web_worker.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ pub fn create(
194194
execArgv_len: usize,
195195
preload_modules_ptr: ?[*]bun.String,
196196
preload_modules_len: usize,
197-
) callconv(.C) ?*WebWorker {
197+
) callconv(.c) ?*WebWorker {
198198
jsc.markBinding(@src());
199199
log("[{d}] WebWorker.create", .{this_context_id});
200200
var spec_slice = specifier_str.toUTF8(bun.default_allocator);
@@ -491,7 +491,7 @@ fn spin(this: *WebWorker) void {
491491
}
492492

493493
/// This is worker.ref()/.unref() from JS (Caller thread)
494-
pub fn setRef(this: *WebWorker, value: bool) callconv(.C) void {
494+
pub fn setRef(this: *WebWorker, value: bool) callconv(.c) void {
495495
if (this.hasRequestedTerminate()) {
496496
return;
497497
}
@@ -514,7 +514,7 @@ pub fn exit(this: *WebWorker) void {
514514
}
515515

516516
/// Request a terminate from any thread.
517-
pub fn notifyNeedTermination(this: *WebWorker) callconv(.C) void {
517+
pub fn notifyNeedTermination(this: *WebWorker) callconv(.c) void {
518518
if (this.status.load(.acquire) == .terminated) {
519519
return;
520520
}

0 commit comments

Comments
 (0)