Closed yanatan16 closed 8 years ago
Is the yajl_reset function here different from the one @lloyd wrote in https://github.com/lloyd/yajl/commit/646b8b82ce5441db3d11b98a1049e1fcb50fe776 for issue https://github.com/lloyd/yajl/issues/161?
@ajdavis This looks basically the same as 646b8b8. I'll close this.
The main purpose of adding a reset ability is to use the same handle after an error or client cancellation without reallocation.
I haven't added tests yet, I was just going to add a new test executable under
test/api
.Adds public api function:
Adds internal functions: