mirror of
https://github.com/tstellar/bygfoot.git
synced 2024-12-16 18:29:21 +01:00
added a debug-writer for debugging to console
This commit is contained in:
parent
56a848082b
commit
75ab0a7af6
@ -225,4 +225,13 @@ debug_writer_out(const gchar *file_name,
|
||||
{
|
||||
printf("%s # %s # %s\n", file_name, method_name, text);
|
||||
}
|
||||
|
||||
//Example
|
||||
//gchar message[SMALL];
|
||||
//sprintf(message, "Number of players in player list: %d", current_user.tm->players->len);
|
||||
//debug_writer_out("misc2_callbacks2.c",
|
||||
// "on_button_transfer_yes_clicked",
|
||||
// message,
|
||||
// 3);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user