tinyexpr icon indicating copy to clipboard operation
tinyexpr copied to clipboard

Reworked memory allocation and compiler warnings

Open stawiski opened this issue 6 years ago • 1 comments

My work as per our discussion under #56

stawiski avatar Oct 08 '19 07:10 stawiski

I wonder, maybe a simple way to drop in a custom malloc and free, in addition to handling malloc returning NULL, would be better? You could then make an allocator which just gives memory from a pre-allocated buffer and returns NULL when out of space in that buffer. It would certainly keep tinyexpr much simpler.

mortie avatar Oct 12 '20 22:10 mortie