diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2018-06-21 22:54:47 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2019-02-20 17:42:59 +0000 |
commit | 7462c171e1717e3bd2b84c04a8d8c4c12ecb23fb (patch) | |
tree | b45f10b7065b19e1df94c4332b21580f268c767e /docs | |
parent | 53c0c5a665bb32698de9545cbdf0f496f0cfe06b (diff) |
codegen: Fix c_type result for TypeAlias
c_type() method is supposed to return the type to use for
C structure field. But the name is not a C type but a
protocol name.
Return the type name of the aliased type (for instance
uint32_t for a uint32 type).
This does not change the generated code.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions