Skip to content

Commit

Permalink
Fix C typedef syntax.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 724e9c778326e8b6f2948d6a4ad0c683c2faf890
  • Loading branch information
levlam committed Feb 2, 2018
1 parent 5cecb37 commit 7927df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/td_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7927df3

Please sign in to comment.