| ... | ... | @@ -115,14 +115,14 @@ pub fn getSelfDebugInfo() !*DebugInfo { |
| 115 | 115 | |
| 116 | 116 | /// Tries to print a hexadecimal view of the bytes, unbuffered, and ignores any error returned. |
| 117 | 117 | /// Obtains the stderr mutex while dumping. |
| 118 | | pub fn dump_hex(bytes: []const u8) void { |
| 118 | pub fn dumpHex(bytes: []const u8) void { |
| 119 | 119 | lockStdErr(); |
| 120 | 120 | defer unlockStdErr(); |
| 121 | | dump_hex_fallible(bytes) catch {}; |
| 121 | dumpHexFallible(bytes) catch {}; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /// Prints a hexadecimal view of the bytes, unbuffered, returning any error that occurs. |
| 125 | | pub fn dump_hex_fallible(bytes: []const u8) !void { |
| 125 | pub fn dumpHexFallible(bytes: []const u8) !void { |
| 126 | 126 | const stderr = std.io.getStdErr(); |
| 127 | 127 | const ttyconf = std.io.tty.detectConfig(stderr); |
| 128 | 128 | const writer = stderr.writer(); |
| ... | ... | @@ -2950,5 +2950,5 @@ pub inline fn inValgrind() bool { |
| 2950 | 2950 | } |
| 2951 | 2951 | |
| 2952 | 2952 | test { |
| 2953 | | _ = &dump_hex; |
| 2953 | _ = &dumpHex; |
| 2954 | 2954 | } |