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

add comments. refine naming

This commit is contained in:
winlin 2013-10-19 09:00:17 +08:00
parent a323483bea
commit 56e78bdf6f
10 changed files with 53 additions and 10 deletions

View file

@ -28,7 +28,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <srs_core.hpp>
*/
// user must include the srs_core.hpp before any header.
/**
* the core provides the common defined macros, utilities,
* user must include the srs_core.hpp before any header, or maybe
* build failed.
*/
// for int64_t print using PRId64 format.
#ifndef __STDC_FORMAT_MACROS
@ -36,6 +40,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#include <assert.h>
#define SrsAssert(expression) assert(expression)
#define srs_assert(expression) assert(expression)
#endif