Update to latest zig master

updated raylib and raygui
This commit is contained in:
haxsam 2025-01-18 22:08:45 +01:00
parent ae76994a2d
commit ae7cb3fa93
No known key found for this signature in database
4 changed files with 14 additions and 14 deletions

View file

@ -2293,8 +2293,8 @@ pub fn textFormat(text: [*:0]const u8, args: anytype) [*:0]const u8 {
comptime {
const info = @typeInfo(@TypeOf(args));
switch (info) {
.Struct => {
if (!info.Struct.is_tuple)
.@"struct" => {
if (!info.@"struct".is_tuple)
@compileError("Args should be in a tuple (call this function like textFormat(.{arg1, arg2, ...});)!");
},
else => {
@ -2311,8 +2311,8 @@ pub fn traceLog(logLevel: TraceLogLevel, text: [*:0]const u8, args: anytype) voi
comptime {
const info = @typeInfo(@TypeOf(args));
switch (info) {
.Struct => {
if (!info.Struct.is_tuple)
.@"struct" => {
if (!info.@"struct".is_tuple)
@compileError("Args should be in a tuple (call this function like traceLog(.{arg1, arg2, ...});)!");
},
else => {

View file

@ -2293,8 +2293,8 @@ pub fn textFormat(text: [*:0]const u8, args: anytype) [*:0]const u8 {
comptime {
const info = @typeInfo(@TypeOf(args));
switch (info) {
.Struct => {
if (!info.Struct.is_tuple)
.@"struct" => {
if (!info.@"struct".is_tuple)
@compileError("Args should be in a tuple (call this function like textFormat(.{arg1, arg2, ...});)!");
},
else => {
@ -2311,8 +2311,8 @@ pub fn traceLog(logLevel: TraceLogLevel, text: [*:0]const u8, args: anytype) voi
comptime {
const info = @typeInfo(@TypeOf(args));
switch (info) {
.Struct => {
if (!info.Struct.is_tuple)
.@"struct" => {
if (!info.@"struct".is_tuple)
@compileError("Args should be in a tuple (call this function like traceLog(.{arg1, arg2, ...});)!");
},
else => {