| 538 | } |
| 539 | |
| 540 | static void add_deps(const char ***arr, |
| 541 | const char *buffer, |
| 542 | const jsmntok_t *arrtok) |
| 543 | { |
| 544 | const jsmntok_t *t; |
| 545 | size_t i; |
| 546 | |
| 547 | if (!arrtok) |
| 548 | return; |
| 549 | |
| 550 | json_for_each_arr(i, t, arrtok) |
| 551 | tal_arr_expand(arr, json_strdup(*arr, buffer, t)); |
| 552 | } |
| 553 | |
| 554 | void plugin_hook_add_deps(struct plugin_hook *hook, |
| 555 | struct plugin *plugin, |
no test coverage detected