mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
change zstr to inline and fix small display update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15385 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -74,7 +74,10 @@ SWITCH_DECLARE(int) switch_isxdigit(int c);
|
||||
\param s the string to test
|
||||
\return true value if the string is NULL or zero length
|
||||
*/
|
||||
#define zstr(s) (!s || *(s) == '\0')
|
||||
static inline int zstr(const char *s) {
|
||||
return (!s || *(s) == '\0');
|
||||
}
|
||||
|
||||
#define zstr_buf(s) (*(s) == '\0')
|
||||
static inline switch_bool_t switch_is_moh(const char *s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user