mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-02-23 23:07:43 +01:00
added a debug-writer for debugging to console
This commit is contained in:
parent
ff4869f551
commit
5e9ef87e1d
@ -225,4 +225,13 @@ debug_writer_out(const gchar *file_name,
|
|||||||
{
|
{
|
||||||
printf("%s # %s # %s\n", file_name, method_name, text);
|
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…
x
Reference in New Issue
Block a user