This is just a wrapper for lpAppend() to directly use a 64 bit integer * instead of a string. */
| 250 | /* This is just a wrapper for lpAppend() to directly use a 64 bit integer |
| 251 | * instead of a string. */ |
| 252 | unsigned char *lpAppendInteger(unsigned char *lp, int64_t value) { |
| 253 | char buf[LONG_STR_SIZE]; |
| 254 | int slen = ll2string(buf,sizeof(buf),value); |
| 255 | return lpAppend(lp,(unsigned char*)buf,slen); |
| 256 | } |
| 257 | |
| 258 | /* This is just a wrapper for lpReplace() to directly use a 64 bit integer |
| 259 | * instead of a string to replace the current element. The function returns |
no test coverage detected