Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: yodiwo_helpers.c
- Revision:
- 4:073e23f6718c
- Parent:
- 3:96b08b5f998f
- Child:
- 6:4596aaa1a824
--- a/yodiwo_helpers.c Tue Sep 15 10:21:40 2015 +0000
+++ b/yodiwo_helpers.c Tue Sep 15 14:39:13 2015 +0000
@@ -25,7 +25,7 @@
/* Loop over all keys of the root object */
for (tokIndex = 1; tokIndex < tokSize; tokIndex++) {
jsmntok_t *tok = &t[tokIndex];
- printf("Type: %d \n", t[tokIndex + 1].type);
+// printf("Type: %d \n", t[tokIndex + 1].type);
// Scan the match table
for (i = 0; i < tableSize; i++) {
@@ -72,8 +72,6 @@
{
int s = t->end - t->start;
int escaped = count_escaped(&json[t->start], s);
- printf("total: %d\n", s);
- printf("escaped: %d\n", escaped);
*result = os_zmalloc(sizeof(char)*(s - escaped + 1));
if (*result != NULL)
memcpy_unescaped(*result, &json[t->start], s);