| 884 | } |
| 885 | |
| 886 | static int ply_find_string(const char *item, const char* const list[]) { |
| 887 | int i; |
| 888 | assert(item && list); |
| 889 | for (i = 0; list[i]; i++) |
| 890 | if (!strcmp(list[i], item)) return i; |
| 891 | return -1; |
| 892 | } |
| 893 | |
| 894 | static p_ply_element ply_find_element(p_ply ply, const char *name) { |
| 895 | p_ply_element element; |
no outgoing calls
no test coverage detected