| 1819 | } |
| 1820 | |
| 1821 | static unsigned char *insertHelper(unsigned char *zl, char ch, size_t len, unsigned char *pos) { |
| 1822 | assert(len <= ZIP_BIG_PREVLEN); |
| 1823 | unsigned char data[ZIP_BIG_PREVLEN] = {0}; |
| 1824 | memset(data, ch, len); |
| 1825 | return ziplistInsert(zl, pos, data, len); |
| 1826 | } |
| 1827 | |
| 1828 | static int compareHelper(unsigned char *zl, char ch, size_t len, int index) { |
| 1829 | assert(len <= ZIP_BIG_PREVLEN); |
no test coverage detected