]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
rxgen: Set struct members correctly in struct types
authorDavid Howells <dhowells@redhat.com>
Wed, 9 Apr 2014 20:27:58 +0000 (21:27 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 9 Apr 2014 20:27:58 +0000 (21:27 +0100)
commit0c67e7fd6bcba7df76565f75cd46164e30a0d6cb
treed4dbe3f66bd00de36f5211eb6f0edc1f68864192
parent6d5293b747335a647895206d15b0247f8567378c
rxgen: Set struct members correctly in struct types

When setting a member of a struct (eg. VL.ListAddrByAttributes) where that
member is itself a struct type (eg. afsUUID), we need to check that the type
of the value to assign is the member type, not the container type.

Signed-off-by: David Howells <dhowells@redhat.com>
rxgen/emit_py_types.pm