File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments