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

Function _AR_EXP_InitializeOperand

src/arithmetic/arithmetic_expression.c:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static inline AR_ExpNode *_AR_EXP_InitializeOperand(AR_OperandNodeType type) {
211 AR_ExpNode *node = rm_calloc(1, sizeof(AR_ExpNode));
212 node->type = AR_EXP_OPERAND;
213 node->operand.type = type;
214 return node;
215}
216
217AR_ExpNode *AR_EXP_NewVariableOperandNode(const char *alias) {
218 AR_ExpNode *node = _AR_EXP_InitializeOperand(AR_EXP_VARIADIC);

Callers 4

AR_EXP_NewRecordNodeFunction · 0.85

Calls 1

rm_callocFunction · 0.85

Tested by

no test coverage detected