On Monday, 8 September 2014 at 06:32:52 UTC, Joel wrote:
Is there any ini library that works in OSX?
I've tried the ones I found. I think they have the same issue.
Joels-MacBook-Pro:ChrisMill joelcnz$ dmd ini -unittest
ini.d(330): Error: cannot pass dynamic arrays to extern(C)
vararg functions
ini.d(387): Error: undefined identifier 'replace', did you mean
'template replace(E, R1, R2)(E[] subject, R1 from, R2 to) if
(isDynamicArray!(E[]) && isForwardRange!R1 && isForwardRange!R2
&& (hasLength!R2 || isSomeString!R2))'?
ini.d(495): Error: cannot pass dynamic arrays to extern(C)
vararg functions
ini.d(571): Error: cannot pass dynamic arrays to extern(C)
vararg functions
ini.d(571): Error: cannot pass dynamic arrays to extern(C)
vararg functions
Joels-MacBook-Pro:ChrisMill joelcnz$
You have a pretty functional INI parser here:
http://forum.dlang.org/thread/1329910543.20062.9.camel@jonathan