Fix C typedef syntax.
GitOrigin-RevId: 724e9c778326e8b6f2948d6a4ad0c683c2faf890
This commit is contained in:
parent
5cecb37e8b
commit
7927df3a65
@ -58,7 +58,7 @@ TDJSON_EXPORT void td_set_log_verbosity_level(int new_verbosity_level);
|
||||
*
|
||||
* \param error_message Null-terminated string with a description of a happened fatal error.
|
||||
*/
|
||||
using td_log_fatal_error_callback_ptr = void (*)(const char *error_message);
|
||||
typedef void (*td_log_fatal_error_callback_ptr)(const char *error_message);
|
||||
|
||||
/**
|
||||
* Sets the callback that will be called when a fatal error happens.
|
||||
|
Reference in New Issue
Block a user