Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Action committed Jan 26, 2025
1 parent 8ea2604 commit 4b4d1d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sokol/c/sokol_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ extern "C" {

/*
Plug this function into the 'logger.func' struct item when initializing any of the sokol
headers. For instance for sokol_audio.h it would loom like this:
headers. For instance for sokol_audio.h it would look like this:
saudio_setup(&(saudio_desc){
.logger = {
Expand Down
4 changes: 2 additions & 2 deletions src/sokol/log.zig
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn cStrToZig(c_str: [*c]const u8) [:0]const u8 {
return @import("std").mem.span(c_str);
}
/// Plug this function into the 'logger.func' struct item when initializing any of the sokol
/// headers. For instance for sokol_audio.h it would loom like this:
/// headers. For instance for sokol_audio.h it would look like this:
///
/// saudio_setup(&(saudio_desc){
/// .logger = {
Expand All @@ -116,7 +116,7 @@ fn cStrToZig(c_str: [*c]const u8) [:0]const u8 {
pub extern fn slog_func([*c]const u8, u32, u32, [*c]const u8, u32, [*c]const u8, ?*anyopaque) void;

/// Plug this function into the 'logger.func' struct item when initializing any of the sokol
/// headers. For instance for sokol_audio.h it would loom like this:
/// headers. For instance for sokol_audio.h it would look like this:
///
/// saudio_setup(&(saudio_desc){
/// .logger = {
Expand Down

0 comments on commit 4b4d1d9

Please sign in to comment.