MCPcopy Create free account
hub / github.com/ElementsProject/elements / IDEN_A

Function IDEN_A

src/simplicity/dag.h:139–143  ·  view source on GitHub ↗

Inline functions for accessing the type annotations of combinators */

Source from the content-addressed store, hash-verified

137
138/* Inline functions for accessing the type annotations of combinators */
139static inline size_t IDEN_A(const dag_node* dag, const type* type_dag, size_t i) {
140 (void)type_dag;
141 simplicity_debug_assert(IDEN == dag[i].tag);
142 return dag[i].sourceType;
143}
144
145static inline size_t UNIT_A(const dag_node* dag, const type* type_dag, size_t i) {
146 (void)type_dag;

Callers 3

runTCOFunction · 0.85
simplicity_analyseBoundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected