[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Constants in command line definition
From: |
Balazs Attila-Mihaly \(Cd-MaN\) |
Subject: |
[Qemu-devel] [PATCH] Constants in command line definition |
Date: |
Thu, 21 Jun 2007 12:38:31 -0700 (PDT) |
Hello, this is me again.
In the last time I forgot to specify that the patches are against the current
CVS contents. This is a small patch which replaces the numeric values "1" in
the "qemu_options" structure (which defines the command line format) with the
constant HAS_ARG. I feel that this improves readibility of the code, since
having both 1 and the constant HAS_ARG present implies that they have different
meaning (0 doesn't need to be replaced with any symbolic name imho, since it is
usually associated with "nothing" anyways).
Best regards,
Cd-MaN
___________________________________________________________
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard
protect you. http://uk.docs.yahoo.com/nowyoucan.html
command_line_parser_constants.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Constants in command line definition,
Balazs Attila-Mihaly \(Cd-MaN\) <=