mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code to allow search for conflicts.
This commit is contained in:
parent
ead49e747b
commit
5d48c9ce1b
6 changed files with 27 additions and 27 deletions
|
|
@ -32,11 +32,11 @@ class SrsConfDirective;
|
|||
|
||||
/**
|
||||
* whether the two vector actual equals, for instance,
|
||||
* srs_vector_actual_equals([0, 1, 2], [0, 1, 2]) ==== true
|
||||
* srs_vector_actual_equals([0, 1, 2], [2, 1, 0]) ==== true
|
||||
* srs_vector_actual_equals([0, 1, 2], [0, 2, 1]) ==== true
|
||||
* srs_vector_actual_equals([0, 1, 2], [0, 1, 2, 3]) ==== false
|
||||
* srs_vector_actual_equals([1, 2, 3], [0, 1, 2]) ==== false
|
||||
* srs_vector_actual_equals([0, 1, 2], [0, 1, 2]) is true
|
||||
* srs_vector_actual_equals([0, 1, 2], [2, 1, 0]) is true
|
||||
* srs_vector_actual_equals([0, 1, 2], [0, 2, 1]) is true
|
||||
* srs_vector_actual_equals([0, 1, 2], [0, 1, 2, 3]) is false
|
||||
* srs_vector_actual_equals([1, 2, 3], [0, 1, 2]) is false
|
||||
*/
|
||||
template<typename T>
|
||||
bool srs_vector_actual_equals(const std::vector<T>& a, const std::vector<T>& b)
|
||||
|
|
|
|||
|
|
@ -685,7 +685,7 @@ extern std::string srs_string_dumps_hex(const char* str, int length, int limit);
|
|||
extern std::string srs_string_dumps_hex(const char* str, int length, int limit, char seperator, int line_limit, char newline);
|
||||
|
||||
// Get ENV variable, which may starts with $.
|
||||
// srs_getenv("EIP") === srs_getenv("$EIP")
|
||||
// srs_getenv("EIP") is srs_getenv("$EIP")
|
||||
extern std::string srs_getenv(const std::string& key);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue