MCPcopy Create free account
hub / github.com/antirez/botlib / skip_multiline_comment

Function skip_multiline_comment

cJSON.c:2793–2805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2791}
2792
2793static void skip_multiline_comment(char **input)
2794{
2795 *input += static_strlen("/*");
2796
2797 for (; (*input)[0] != '\0'; ++(*input))
2798 {
2799 if (((*input)[0] == '*') && ((*input)[1] == '/'))
2800 {
2801 *input += static_strlen("*/");
2802 return;
2803 }
2804 }
2805}
2806
2807static void minify_string(char **input, char **output) {
2808 (*output)[0] = (*input)[0];

Callers 1

cJSON_MinifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected