Open Bnaya opened 4 years ago
The linkedListItemInsert api accepts nodeValuePointer, and saves it. A better api would be to simply return pointer to pointer and let the caller to do the actual write when he see fits https://github.com/Bnaya/objectbuffer/blob/da30950ea29d734691c7f70490bd662bb9fefbde/src/internal/linkedList/linkedList.ts#L45-L60
linkedListItemInsert
The
linkedListItemInsert
api accepts nodeValuePointer, and saves it. A better api would be to simply return pointer to pointer and let the caller to do the actual write when he see fits https://github.com/Bnaya/objectbuffer/blob/da30950ea29d734691c7f70490bd662bb9fefbde/src/internal/linkedList/linkedList.ts#L45-L60