MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / cast_away_const

Function cast_away_const

cJSON.c:2058–2061  ·  view source on GitHub ↗

helper function to cast away const */

Source from the content-addressed store, hash-verified

2056#endif
2057/* helper function to cast away const */
2058static void* cast_away_const(const void* string)
2059{
2060 return (void*)string;
2061}
2062#if defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))))
2063 #pragma GCC diagnostic pop
2064#endif

Callers 4

add_item_to_objectFunction · 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…