mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
ipc: Generated code doesn't need to care about line length
This commit is contained in:
parent
8601499a5a
commit
86a6b4b3e3
|
@ -263,10 +263,8 @@ ipc_dispatch(volatile struct ipc_client_state *ics, ipc_command_t *ipc_command)
|
|||
|
||||
if call.needs_msg_struct:
|
||||
f.write(
|
||||
"\t\tstruct ipc_{}_msg *msg =\n".format(call.name))
|
||||
f.write(
|
||||
"\t\t (struct ipc_{}_msg *)ipc_command;\n".format(
|
||||
call.name))
|
||||
"\t\tstruct ipc_{}_msg *msg = ".format(call.name))
|
||||
f.write("(struct ipc_{}_msg *)ipc_command;\n".format(call.name))
|
||||
if call.out_args:
|
||||
f.write("\t\tstruct ipc_%s_reply reply = {0};\n" % call.name)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue