From 5b850d5c9251900962e52154eb0fb9c2a344476d Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 20 May 2021 17:07:06 +0200 Subject: Run `zig fmt` on src/ and lib/std/ This replaces callconv(.Inline) with the more idiomatic inline keyword. --- src/tracy.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tracy.zig') diff --git a/src/tracy.zig b/src/tracy.zig index 3f6cf56588..6f56a87ce6 100644 --- a/src/tracy.zig +++ b/src/tracy.zig @@ -31,7 +31,7 @@ pub const Ctx = if (enable) ___tracy_c_zone_context else struct { pub fn end(self: Ctx) void {} }; -pub fn trace(comptime src: std.builtin.SourceLocation) callconv(.Inline) Ctx { +pub inline fn trace(comptime src: std.builtin.SourceLocation) Ctx { if (!enable) return .{}; const loc: ___tracy_source_location_data = .{ -- cgit v1.2.3