@@ -2722,7 +2722,7 @@ inline fn ptrCastAlign(comptime Ptr: type, ptr: anytype) Ptr {
27222722 }
27232723}
27242724
2725- pub fn setDcheckFunction (func : fn (file : [* c ]const u8 , line : c_int , msg : [* c ]const u8 ) callconv (.C ) void ) void {
2725+ pub fn setDcheckFunction (func : fn (file : [* c ]const u8 , line : c_int , msg : [* c ]const u8 ) callconv (.c ) void ) void {
27262726 c .v8__base__SetDcheckFunction (func );
27272727}
27282728
@@ -2854,7 +2854,7 @@ pub const InspectorClient = struct {
28542854pub export fn v8_inspector__Client__IMPL__generateUniqueId (
28552855 _ : * c.InspectorClientImpl ,
28562856 data : * anyopaque ,
2857- ) callconv (.C ) i64 {
2857+ ) callconv (.c ) i64 {
28582858 const inspector = Inspector .fromData (data );
28592859 return inspector .rnd .random ().int (i64 );
28602860}
@@ -2863,7 +2863,7 @@ pub export fn v8_inspector__Client__IMPL__runMessageLoopOnPause(
28632863 _ : * c.InspectorClientImpl ,
28642864 data : * anyopaque ,
28652865 contextGroupId : c_int ,
2866- ) callconv (.C ) void {
2866+ ) callconv (.c ) void {
28672867 _ = contextGroupId ;
28682868 const inspector = Inspector .fromData (data );
28692869 _ = inspector ;
@@ -2873,7 +2873,7 @@ pub export fn v8_inspector__Client__IMPL__runMessageLoopOnPause(
28732873pub export fn v8_inspector__Client__IMPL__quitMessageLoopOnPause (
28742874 _ : * c.InspectorClientImpl ,
28752875 data : * anyopaque ,
2876- ) callconv (.C ) void {
2876+ ) callconv (.c ) void {
28772877 const inspector = Inspector .fromData (data );
28782878 _ = inspector ;
28792879 // TODO
@@ -2883,7 +2883,7 @@ pub export fn v8_inspector__Client__IMPL__runIfWaitingForDebugger(
28832883 _ : * c.InspectorClientImpl ,
28842884 data : * anyopaque ,
28852885 contextGroupId : c_int ,
2886- ) callconv (.C ) void {
2886+ ) callconv (.c ) void {
28872887 _ = contextGroupId ;
28882888 const inspector = Inspector .fromData (data );
28892889 _ = inspector ;
@@ -2901,7 +2901,7 @@ pub export fn v8_inspector__Client__IMPL__consoleAPIMessage(
29012901 _ : c_uint ,
29022902 _ : c_uint ,
29032903 _ : * c.StackTrace ,
2904- ) callconv (.C ) void {
2904+ ) callconv (.c ) void {
29052905 _ = contextGroupId ;
29062906 const inspector = Inspector .fromData (data );
29072907 _ = inspector ;
@@ -2911,7 +2911,7 @@ pub export fn v8_inspector__Client__IMPL__consoleAPIMessage(
29112911pub export fn v8_inspector__Client__IMPL__ensureDefaultContextInGroup (
29122912 _ : * c.InspectorClientImpl ,
29132913 data : * anyopaque ,
2914- ) callconv (.C ) ? * const C_Context {
2914+ ) callconv (.c ) ? * const C_Context {
29152915 const inspector = Inspector .fromData (data );
29162916 return inspector .ctx_handle ;
29172917}
@@ -2973,7 +2973,7 @@ pub export fn v8_inspector__Channel__IMPL__sendResponse(
29732973 call_id : c_int ,
29742974 msg : [* c ]u8 ,
29752975 length : usize ,
2976- ) callconv (.C ) void {
2976+ ) callconv (.c ) void {
29772977 const inspector = Inspector .fromData (data );
29782978 inspector .channel .resp (@as (u32 , @intCast (call_id )), msg [0.. length ]);
29792979}
@@ -2983,15 +2983,15 @@ pub export fn v8_inspector__Channel__IMPL__sendNotification(
29832983 data : * anyopaque ,
29842984 msg : [* c ]u8 ,
29852985 length : usize ,
2986- ) callconv (.C ) void {
2986+ ) callconv (.c ) void {
29872987 const inspector = Inspector .fromData (data );
29882988 inspector .channel .notif (msg [0.. length ]);
29892989}
29902990
29912991pub export fn v8_inspector__Channel__IMPL__flushProtocolNotifications (
29922992 _ : * c.InspectorChannelImpl ,
29932993 data : * anyopaque ,
2994- ) callconv (.C ) void {
2994+ ) callconv (.c ) void {
29952995 const inspector = Inspector .fromData (data );
29962996 _ = inspector ;
29972997 // TODO
@@ -3125,7 +3125,7 @@ pub const RemoteObject = struct {
31253125};
31263126
31273127/// Enables C to allocate using the given Zig allocator
3128- pub export fn zigAlloc (self : * anyopaque , bytes : usize ) callconv (.C ) ? [* ]u8 {
3128+ pub export fn zigAlloc (self : * anyopaque , bytes : usize ) callconv (.c ) ? [* ]u8 {
31293129 const allocator : * std.mem.Allocator = @ptrCast (@alignCast (self ));
31303130 const allocated_bytes = allocator .alloc (u8 , bytes ) catch return null ;
31313131 return allocated_bytes .ptr ;
0 commit comments