mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-03 12:26:46 +02:00
allow line_info_add to take formatted strings with variable # of args
This commit is contained in:
@ -68,8 +68,8 @@ struct history {
|
||||
};
|
||||
|
||||
/* creates new line_info line and puts it in the queue */
|
||||
void line_info_add(ToxWindow *self, char *tmstmp, char *name1, char *name2, const char *msg,
|
||||
uint8_t type, uint8_t bold, uint8_t colour);
|
||||
void line_info_add(ToxWindow *self, char *tmstmp, char *name1, char *name2, uint8_t type, uint8_t bold,
|
||||
uint8_t colour, const char *msg, ...);
|
||||
|
||||
/* Prints a section of history starting at line_start */
|
||||
void line_info_print(ToxWindow *self);
|
||||
|
Reference in New Issue
Block a user