odin-ini-parser icon indicating copy to clipboard operation
odin-ini-parser copied to clipboard

Parser should accept an allocator argument

Open Beefster09 opened this issue 2 years ago • 1 comments

I was trying to use this library and wanted to allocate with the temporary allocator

Much like the other encoders in the core collection, I expected to be able to pass in an allocator explicitly, but would have to:

context.allocator = context.temp_allocator

before parsing in order to achieve that.

Beefster09 avatar Aug 08 '23 16:08 Beefster09

I agree, would be a good addition

laytan avatar Aug 10 '23 12:08 laytan