mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
HACKING: add preprocessor rules
Add a new file, HACKING, in order to collect recurring issues with submitted patches. Start with preprocessor rules, adapted from libvirt HACKING. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
9f810beb5c
commit
45fad878d7
1 changed files with 6 additions and 0 deletions
6
HACKING
Normal file
6
HACKING
Normal file
|
@ -0,0 +1,6 @@
|
|||
1. Preprocessor
|
||||
|
||||
For variadic macros, stick with this C99-like syntax:
|
||||
|
||||
#define DPRINTF(fmt, ...) \
|
||||
do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0)
|
Loading…
Add table
Add a link
Reference in a new issue