HTTP Client Library: D:/CC3xxx/CC3100/CC3100 SDK/CC3100 1.1.0/sdk/netapps/http/client/common.h Source File
From TI HTTP Client Library
 |
HTTP Client Library
1.00.01.04
|
46 #elif defined(__SL__) || defined(__NDK__) || defined(__SLP__)
55 extern int vsnprintf(
char *_string,
size_t _n,
const char *_format, va_list _ap);
57 #error Unsupported configuration specified
63 static inline void xassert(
int expr)
66 if(!(expr)) {
while(1);}
72 static inline void xfree(
void *ptr)
80 static inline void *xmalloc(
size_t size)
82 return (malloc(size));
88 static inline int xvsnprintf(
char *s,
size_t n,
const char *fmt, va_list arg)
90 #if defined(__SL__) || defined (__NDK__) || defined(__SLP__)
92 return (vsnprintf(s, n, fmt, arg));
94 return (vsnprintf(s, n, fmt, arg));