|
From: | Wang Dong |
Subject: | Re: [Qemu-devel] new to qemu with a simple question |
Date: | Wed, 24 May 2017 16:37:58 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Thank you, Fam. On 05/24/2017 11:11 AM, Fam Zheng wrote:
On Wed, 05/24 10:56, Wang Dong wrote:Some C source code is generate from json file. I wonder why this? What is the benefits of this?This allows you to concentrate on the high level semantics of the QMP API, without worrying about C syntax and structural code here and there. In one word, more conciseness and little code duplication. If done in C, it would be much more lines of code and hardly readable. Fam
-- Best regards. Wang Dong
[Prev in Thread] | Current Thread | [Next in Thread] |