7 Jan
2013
7 Jan
'13
5:11 p.m.
Hello Greg, On Mon, Nov 12, 2012 at 9:50 PM, Greg Pfeil <greg@technomadic.org> wrote:
This form:
(cstruct %foo "foo" …)
errors, as “%FOO” ends up literally in some C format string. “%” needs to be escaped as “%%”. CSTRUCT is probably not the only place it happens, but it’s where I’ve run into it.
I believe this has now been fixed by this commit: <https://github.com/cffi/cffi/commit/c8d9c202d182d1e779f88533c1d174c2f7d5209c>. Thanks for the report, -- Luís Oliveira http://r42.eu/~luis/