MCPcopy Create free account
hub / github.com/ElementsProject/lightning / printwire_test_enum

Function printwire_test_enum

tools/test/enum.c:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16bool printwire_test_enum(const char *fieldname, const u8 **cursor, size_t *max)
17{
18 enum test_enum e = fromwire_test_enum(cursor, max);
19 if (!*cursor)
20 return false;
21 printf("%u\n", e);
22 return true;
23}

Callers

nothing calls this directly

Calls 1

fromwire_test_enumFunction · 0.85

Tested by

no test coverage detected