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

Function skip_oneline_comment

cJSON.c:2780–2791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2778}
2779
2780static void skip_oneline_comment(char **input)
2781{
2782 *input += static_strlen("//");
2783
2784 for (; (*input)[0] != '\0'; ++(*input))
2785 {
2786 if ((*input)[0] == '\n') {
2787 *input += static_strlen("\n");
2788 return;
2789 }
2790 }
2791}
2792
2793static void skip_multiline_comment(char **input)
2794{

Callers 1

cJSON_MinifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected