Eric Blake c6405b54b7 qapi: Make c_type() consistently convert qapi names
Continuing the string of cleanups for supporting downstream names
containing '.', this patch focuses on ensuring c_type() can
handle a downstream name.  This patch alone does not fix the
places where generator output should be calling this function
but was open-coding things instead, but it gets us a step closer.

In particular, the changes to c_list_type() and type_name() mean
that type_name(FOO) now handles the case when FOO contains '.',
'-', or is a ticklish identifier other than a builtin (builtins
are exempted because ['int'] must remain mapped to 'intList' and
not 'q_intList').  Meanwhile, ['unix'] now maps to 'q_unixList'
rather than 'unixList', to match the fact that 'unix' is ticklish;
however, our naming conventions state that complex types should
start with a capital, so no type name following conventions will
ever have the 'q_' prepended.

Likewise, changes to c_type() mean that c_type(FOO) properly
handles an enum or complex type FOO with '.' or '-' in the
name, or is a ticklish identifier (again, a ticklish identifier
as a type name violates conventions).

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-14 18:21:07 +02:00
2015-05-08 14:11:10 +03:00
2015-05-12 09:01:51 +01:00
2015-05-14 17:25:46 +02:00
2015-02-06 16:11:38 +00:00
2015-03-19 11:30:37 +03:00
2015-04-30 13:21:42 +02:00
2015-05-11 14:49:03 +01:00
2015-05-11 16:25:33 +01:00
2015-05-11 08:59:07 -04:00
2015-03-09 09:14:28 +00:00
2015-05-12 10:40:31 +01:00
2015-04-30 16:05:48 +03:00
2015-04-04 09:45:59 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2015-04-28 15:36:09 +02:00
2013-10-11 09:34:56 -07:00
2015-04-26 16:49:24 +01:00
2015-04-30 16:05:48 +03:00
2015-05-08 14:11:10 +03:00
2015-05-12 10:40:31 +01:00
2015-02-05 17:16:14 +01:00
2015-04-30 16:55:16 +02:00
2015-05-11 16:25:33 +01:00
2015-02-16 15:07:19 +00:00
2014-05-24 00:07:29 +04:00
2015-05-11 08:59:07 -04:00
2013-10-11 09:34:56 -07:00
2015-04-26 16:49:24 +01:00
2015-02-12 21:21:38 -08:00
2015-04-25 22:05:07 +01:00
2013-10-11 09:34:56 -07:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%