File tree Expand file tree Collapse file tree 2 files changed +24
-19
lines changed Expand file tree Collapse file tree 2 files changed +24
-19
lines changed Original file line number Diff line number Diff line change 1+ const c = @import ("v8.zig" ).c ;
2+
3+ pub export fn v8_inspector__Client__IMPL__valueSubtype (
4+ _ : * c.InspectorClientImpl ,
5+ value : * const c.Value ,
6+ ) callconv (.C ) [* c ]const u8 {
7+ _ = value ;
8+ return null ;
9+ }
10+
11+ pub export fn v8_inspector__Client__IMPL__descriptionForValueSubtype (
12+ _ : * c.InspectorClientImpl ,
13+ context : * const c.Context ,
14+ value : * const c.Value ,
15+ ) callconv (.C ) [* c ]const u8 {
16+ _ = value ;
17+ _ = context ;
18+ return null ;
19+ }
Original file line number Diff line number Diff line change @@ -2916,25 +2916,11 @@ pub export fn v8_inspector__Client__IMPL__ensureDefaultContextInGroup(
29162916 return inspector .ctx_handle ;
29172917}
29182918
2919- usingnamespace if (@import ("default_exports" ).inspector_subtype ) struct {
2920- pub export fn v8_inspector__Client__IMPL__valueSubtype (
2921- _ : * c.InspectorClientImpl ,
2922- value : * const c.Value ,
2923- ) callconv (.C ) [* c ]const u8 {
2924- _ = value ;
2925- return null ;
2926- }
2927-
2928- pub export fn v8_inspector__Client__IMPL__descriptionForValueSubtype (
2929- _ : * c.InspectorClientImpl ,
2930- context : * const c.Context ,
2931- value : * const c.Value ,
2932- ) callconv (.C ) [* c ]const u8 {
2933- _ = value ;
2934- _ = context ;
2935- return null ;
2936- }
2937- } else struct {};
2919+ comptime {
2920+ if (@import ("default_exports" ).inspector_subtype ) {
2921+ _ = @import ("inspector_subtypes.zig" );
2922+ }
2923+ }
29382924
29392925// InspectorChannel
29402926
You can’t perform that action at this time.
0 commit comments