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

Function ReadEffectType

src/effects/effects_apply.c:14–24  ·  view source on GitHub ↗

read effect type from stream

Source from the content-addressed store, hash-verified

12
13// read effect type from stream
14static inline EffectType ReadEffectType
15(
16 FILE *stream // effects stream
17) {
18 EffectType t = EFFECT_UNKNOWN; // default to unknown effect type
19
20 // read EffectType off of stream
21 fread_assert(&t, sizeof(EffectType), stream);
22
23 return t;
24}
25
26static AttributeSet ReadAttributeSet
27(

Callers 1

Effects_ApplyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected