[cffi-devel] cstruct in groveller needs to escape %
Luís Oliveira
luismbo at gmail.com
Mon Jan 7 17:11:11 UTC 2013
Hello Greg,
On Mon, Nov 12, 2012 at 9:50 PM, Greg Pfeil <greg at 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/
More information about the cffi-devel
mailing list