1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

tests: add function record_count_messages

This commit is contained in:
Sébastien Helleu
2024-10-12 21:02:21 +02:00
parent 00578a70e1
commit 977b3581fa
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -204,6 +204,16 @@ record_search (const char *buffer, const char *prefix, const char *message,
return NULL;
}
/*
* Returns the number of messages displayed during the recording.
*/
int
record_count_messages ()
{
return arraylist_size (recorded_messages);
}
/*
* Adds all recorded messages to the dynamic string "msg".
*/