MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cast_away_const

Function cast_away_const

libapp2sys/src/main/cpp/cjson/cJSON.c:1894–1897  ·  view source on GitHub ↗

helper function to cast away const */

Source from the content-addressed store, hash-verified

1892#endif
1893/* helper function to cast away const */
1894static void* cast_away_const(const void* string)
1895{
1896 return (void*)string;
1897}
1898#if defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))))
1899 #pragma GCC diagnostic pop
1900#endif

Callers 4

add_item_to_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected