]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
rxgen: Handle bulk arguments correctly
authorDavid Howells <dhowells@redhat.com>
Tue, 13 May 2014 16:23:37 +0000 (17:23 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 May 2014 16:36:35 +0000 (17:36 +0100)
commitf5a1df4a18585e2e171608754f01ed61178b1450
tree14d7d89e6eeb856d4ca8a80edddeb50d78c28b48
parent405a5e47d00e52cc25af7593991624bde70db644
rxgen: Handle bulk arguments correctly

Need to check for a bulk-class argument of an integer-type before testing for
the integer-type otherwise the integer-type is selected.  This causes the wrong
argument spec to be emitted for PyArg_ParseTuple() when decoding the arguments
for an RPC call to be issued.

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