Skip to content

Commit

Permalink
Review typos
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Nov 3, 2023
1 parent b030c60 commit f43f35d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/rfxgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
#define RFXGEN_RAND rprand_get_value // raylib alternative: GetRandomValue
#define RFXGEN_SRAND rprand_set_seed // raylib alternative: SetRandomSeed
#define RFXGEN_CALLOC RL_CALLOC
#define RFXGET_FREE RL_FREE
#define RFXGET_ISFILEEXTENSION IsFileExtension
#define RFXGEN_FREE RL_FREE
#define RFXGEN_ISFILEEXTENSION IsFileExtension
#include "rfxgen.h" // Sound generation library

#define RAYGUI_IMPLEMENTATION
Expand Down
8 changes: 4 additions & 4 deletions src/rfxgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
* #define RFXGEN_LOG
* Used to switch how logging occurs within the library. By default, will log with printf().
*
* #define RFXGET_RAND(min, max)
* #define RFXGEN_RAND(min, max)
* Used to generate a random value between the given min and max integers. Defaults to rand().
*
* #define RFXGEN_SRAND
* Used to seed the random number generator. Defaults to srand().
*
* #define RFXGET_CALLOC
* #define RFXGEN_CALLOC
* By default, will use calloc() for allocating memory.
*
* #define RFXGET_FREE
* #define RFXGEN_FREE
* By default, will use free() to deallocate memory.
*
* #define RFXGET_MEMCPY
* #define RFXGEN_MEMCPY
* By default, will use memcpy() for copying memory.
*
* #define RFXGEN_ISFILEEXTENSION
Expand Down

0 comments on commit f43f35d

Please sign in to comment.