Remove pub qualifier from getModuleInternal in build.zig

This commit is contained in:
Not-Nik 2023-10-11 13:47:18 +02:00
parent b74f8d02bb
commit 239d3a2d96
No known key found for this signature in database
GPG Key ID: 08BB71E672DB3BFD

View File

@ -85,7 +85,7 @@ pub fn getModule(b: *std.Build, comptime rl_path: []const u8) *std.Build.Module
return b.addModule("raylib", .{ .source_file = .{ .path = rl_path ++ "/lib/raylib-zig.zig" } });
}
pub fn getModuleInternal(b: *std.Build) *std.Build.Module {
fn getModuleInternal(b: *std.Build) *std.Build.Module {
if (b.modules.contains("raylib")) {
return b.modules.get("raylib").?;
}