MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Pair_New

Function Pair_New

src/datatypes/map.c:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23static inline Pair Pair_New
24(
25 SIValue key,
26 SIValue val
27) {
28 ASSERT(SI_TYPE(key) & T_STRING);
29 return (Pair) {
30 .key = SI_CloneValue(key), .val = SI_CloneValue(val)
31 };
32}
33
34static void Pair_Free
35(

Callers 1

Map_AddFunction · 0.85

Calls 1

SI_CloneValueFunction · 0.85

Tested by

no test coverage detected