[cffi-devel] cstruct in groveller needs to escape %

Greg Pfeil greg at technomadic.org
Mon Nov 12 21:50:07 UTC 2012


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.



More information about the cffi-devel mailing list