1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add comments of message array, add utest.

This commit is contained in:
winlin 2014-07-06 18:37:48 +08:00
parent 6a4b177475
commit 09afaa250a
2 changed files with 17 additions and 0 deletions

View file

@ -50,7 +50,13 @@ public:
SrsSharedPtrMessage** msgs;
int size;
public:
/**
* create msg array, initialize array to NULL ptrs.
*/
SrsSharedPtrMessageArray(int _size);
/**
* free the msgs not sent out(not NULL).
*/
virtual ~SrsSharedPtrMessageArray();
};