Return index in current list, array etc.*/
| 260 | |
| 261 | /* Return index in current list, array etc.*/ |
| 262 | static int pni_node_lindex(pn_data_t *data, pni_node_t *node) |
| 263 | { |
| 264 | int count = 0; |
| 265 | while (node) { |
| 266 | node = pn_data_node(data, node->prev); |
| 267 | count++; |
| 268 | } |
| 269 | return count - 1; |
| 270 | } |
| 271 | |
| 272 | int pni_inspect_enter(void *ctx, pn_data_t *data, pni_node_t *node) |
| 273 | { |
no test coverage detected