On Thu, Apr 29, 2021 at 05:40:25PM +0400, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau > > Move the generating function to the QAPISchemaIfCond class. I'm not familiar enough with the QAPI code generator to know whether schema.py is supposed to generate C code directly. Otherwise this refactoring makes sense.