toolchain: xpcg: fix incorrect variable/type names in output header
This commit is contained in:
@@ -362,7 +362,7 @@ static int emit_interface_msg_function_send_impl(
|
||||
break;
|
||||
case TYPE_BUFFER:
|
||||
emit(ctx,
|
||||
"msg_data.msg_request.%s_offset = offset;\n",
|
||||
"msg_data.msg_request.%s_offset = in_offset;\n",
|
||||
param->p_name);
|
||||
emit(ctx,
|
||||
"msg_data.msg_request.%s_len = %s_len;\n",
|
||||
@@ -693,7 +693,7 @@ static int emit_interface_dispatcher_impl_msg(
|
||||
break;
|
||||
case TYPE_BUFFER:
|
||||
emit(ctx,
|
||||
"xpc_string_t %s = "
|
||||
"xpc_buffer_t %s = "
|
||||
"XPC_BUFFER_IN(msg, " MSG_STRUCT_NAME
|
||||
".msg_request.%s_offset, " MSG_STRUCT_NAME
|
||||
".msg_request.%s_len);\n",
|
||||
|
||||
Reference in New Issue
Block a user