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

Function skip_multiline_comment

cJSON.c:2873–2885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2871}
2872
2873static void skip_multiline_comment(char **input)
2874{
2875 *input += static_strlen("/*");
2876
2877 for (; (*input)[0] != '\0'; ++(*input))
2878 {
2879 if (((*input)[0] == '*') && ((*input)[1] == '/'))
2880 {
2881 *input += static_strlen("*/");
2882 return;
2883 }
2884 }
2885}
2886
2887static void minify_string(char **input, char **output) {
2888 (*output)[0] = (*input)[0];

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…