branch with improvemnts
Fork of M2XStreamClient by
Utility.cpp
- Committer:
- mazgch
- Date:
- 2014-09-13
- Revision:
- 11:5c71c2948812
- Parent:
- 0:f479e4f4db0e
File content as of revision 11:5c71c2948812:
#include "Utility.h" void delay(int ms) { wait_ms(ms); } char* strdup(const char* s) { char* ret = (char*) malloc(strlen(s) + 1); if (ret == NULL) { return ret;} return strcpy(ret, s); }