mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
logging: document GHOSTTY_LOG and make it more flexible
This commit is contained in:
committed by
Mitchell Hashimoto
parent
6d2beed1b0
commit
f8c03bb6f6
@@ -604,7 +604,7 @@ pub fn parseAutoStruct(
|
||||
return result;
|
||||
}
|
||||
|
||||
fn parsePackedStruct(comptime T: type, v: []const u8) !T {
|
||||
pub fn parsePackedStruct(comptime T: type, v: []const u8) !T {
|
||||
const info = @typeInfo(T).@"struct";
|
||||
comptime assert(info.layout == .@"packed");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user