MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / skip_oneline_comment

Function skip_oneline_comment

cJSON.c:2860–2871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2858}
2859
2860static void skip_oneline_comment(char **input)
2861{
2862 *input += static_strlen("//");
2863
2864 for (; (*input)[0] != '\0'; ++(*input))
2865 {
2866 if ((*input)[0] == '\n') {
2867 *input += static_strlen("\n");
2868 return;
2869 }
2870 }
2871}
2872
2873static void skip_multiline_comment(char **input)
2874{

Callers 1

cJSON_MinifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…