mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-08 19:47:28 +00:00
Update to latest zig master
updated raylib and raygui
This commit is contained in:
parent
ae76994a2d
commit
ae7cb3fa93
@ -4,7 +4,7 @@
|
||||
|
||||
Manually tweaked, auto-generated [raylib](https://github.com/raysan5/raylib) bindings for zig.
|
||||
|
||||
Bindings tested on raylib version 5.6-dev and Zig 0.13.0
|
||||
Bindings tested on raylib version 5.6-dev and Zig 0.14.0-dev.2802+257054a14
|
||||
|
||||
Thanks to all the [contributors](https://github.com/Not-Nik/raylib-zig/graphs/contributors) for their help with this
|
||||
binding.
|
||||
|
@ -3,15 +3,15 @@
|
||||
.version = "5.6.0-dev",
|
||||
.dependencies = .{
|
||||
.raylib = .{
|
||||
.url = "git+https://github.com/raysan5/raylib#783ca612ccfe6f291998bbbe50480c0531659b7f",
|
||||
.hash = "1220c644102509a37c894615c3fb51f603cce98a66a9701b28d43776edf4be3e8140",
|
||||
.url = "git+https://github.com/raysan5/raylib#e70f9157bcae046804e754e98a2694adcfdbfa5d",
|
||||
.hash = "1220f6aef0d678ba6e3d67a60069b5f32dc965a930c797f463840d224759d615b864",
|
||||
},
|
||||
.raygui = .{
|
||||
.url = "https://github.com/raysan5/raygui/archive/1e03efca48c50c5ea4b4a053d5bf04bad58d3e43.tar.gz",
|
||||
.hash = "122062b24f031e68f0d11c91dfc32aed5baf06caf26ed3c80ea1802f9e788ef1c358",
|
||||
.url = "git+https://github.com/raysan5/raygui#76b36b597edb70ffaf96f046076adc20d67e7827",
|
||||
.hash = "1220ce6e40b454766d901ac4a19b2408f84365fcad4e4840c788b59f34a0ed698883",
|
||||
},
|
||||
},
|
||||
.minimum_zig_version = "0.13.0",
|
||||
.minimum_zig_version = "0.14.0-dev.2802+257054a14",
|
||||
.paths = .{
|
||||
"build.zig",
|
||||
"build.zig.zon",
|
||||
|
@ -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 => {
|
||||
|
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user