mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-03-01 15:10:43 +00:00
change fluid_log_* prototypes to const char*
This commit is contained in:
parent
f0f9ebeefb
commit
4d8574d38a
2 changed files with 3 additions and 3 deletions
|
@ -70,12 +70,12 @@ enum fluid_log_level
|
||||||
* @param message Log message text
|
* @param message Log message text
|
||||||
* @param data User data pointer supplied to fluid_set_log_function().
|
* @param data User data pointer supplied to fluid_set_log_function().
|
||||||
*/
|
*/
|
||||||
typedef void (*fluid_log_function_t)(int level, char *message, void *data);
|
typedef void (*fluid_log_function_t)(int level, const char *message, void *data);
|
||||||
|
|
||||||
FLUIDSYNTH_API
|
FLUIDSYNTH_API
|
||||||
fluid_log_function_t fluid_set_log_function(int level, fluid_log_function_t fun, void *data);
|
fluid_log_function_t fluid_set_log_function(int level, fluid_log_function_t fun, void *data);
|
||||||
|
|
||||||
FLUIDSYNTH_API void fluid_default_log_function(int level, char *message, void *data);
|
FLUIDSYNTH_API void fluid_default_log_function(int level, const char *message, void *data);
|
||||||
|
|
||||||
FLUIDSYNTH_API int fluid_log(int level, const char *fmt, ...);
|
FLUIDSYNTH_API int fluid_log(int level, const char *fmt, ...);
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ fluid_set_log_function(int level, fluid_log_function_t fun, void *data)
|
||||||
* @param data User supplied data (not used)
|
* @param data User supplied data (not used)
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
fluid_default_log_function(int level, char *message, void *data)
|
fluid_default_log_function(int level, const char *message, void *data)
|
||||||
{
|
{
|
||||||
FILE *out;
|
FILE *out;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue