laytan / odin-ini-parser

INI file format parser for odin.
MIT License
17 stars 1 forks source link

Parser should accept an allocator argument #1

Open Beefster09 opened 1 year ago

Beefster09 commented 1 year ago

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.

laytan commented 1 year ago

I agree, would be a good addition