diff --git a/src/rfxgen.c b/src/rfxgen.c index 5700415..7c39b84 100644 --- a/src/rfxgen.c +++ b/src/rfxgen.c @@ -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 diff --git a/src/rfxgen.h b/src/rfxgen.h index 4c3802b..80d79ec 100644 --- a/src/rfxgen.h +++ b/src/rfxgen.h @@ -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