Skip to content

Commit

Permalink
docs: fixup typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed May 10, 2024
1 parent 76009be commit acda149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Here's how you play back a segment. This example works on POSIX only since it us
On Windows, you simply need to replace dm_resolve_file with a Windows-compatible implementation.

```c
#include <dmusic.h>
#include <dmusic.h>

#include <stddef.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion include/dmusic.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ DMAPI size_t DmGuid_toString(DmGuid const* slf, char* out, size_t len);
/// \brief A `malloc`-like memory allocation function.
///
/// Allocates \p len bytes of contiguous memory and returns a pointer to the first byte allocated. May return NULL
/// if memory allocation fails for any reason. In this case, function which rely on allocation will failed with
/// if memory allocation fails for any reason. In this case, function which relies on the allocation will fail with
/// #DmResult_MEMORY_EXHAUSTED to indicate memory allocation failure.
///
/// \warning Functions implementing this interface are required to be thread-safe.
Expand Down

0 comments on commit acda149

Please sign in to comment.