From 836bb367aa58c4e110e49b646c9b7027234702bf Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sat, 11 May 2019 11:17:33 -0400 Subject: [PATCH] Renamed ipc_buffer_size to pointer_buffer_size for ipcAddSendSmart/ipcAddRecvSmart. --- nx/include/switch/kernel/ipc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nx/include/switch/kernel/ipc.h b/nx/include/switch/kernel/ipc.h index 048c1d55..fff802f7 100644 --- a/nx/include/switch/kernel/ipc.h +++ b/nx/include/switch/kernel/ipc.h @@ -198,13 +198,13 @@ static inline void ipcAddRecvStatic(IpcCommand* cmd, void* buffer, size_t size, /** * @brief Adds a smart-buffer (buffer + static-buffer pair) to an IPC command structure. * @param cmd IPC command structure. - * @param ipc_buffer_size IPC buffer size. + * @param pointer_buffer_size Pointer buffer size. * @param buffer Address of the buffer. * @param size Size of the buffer. * @param index Index of buffer. */ -static inline void ipcAddSendSmart(IpcCommand* cmd, size_t ipc_buffer_size, const void* buffer, size_t size, u8 index) { - if (ipc_buffer_size != 0 && size <= ipc_buffer_size) { +static inline void ipcAddSendSmart(IpcCommand* cmd, size_t pointer_buffer_size, const void* buffer, size_t size, u8 index) { + if (pointer_buffer_size != 0 && size <= pointer_buffer_size) { ipcAddSendBuffer(cmd, NULL, 0, BufferType_Normal); ipcAddSendStatic(cmd, buffer, size, index); } else { @@ -216,13 +216,13 @@ static inline void ipcAddSendSmart(IpcCommand* cmd, size_t ipc_buffer_size, cons /** * @brief Adds a smart-receive-buffer (buffer + static-receive-buffer pair) to an IPC command structure. * @param cmd IPC command structure. - * @param ipc_buffer_size IPC buffer size. + * @param pointer_buffer_size Pointer buffer size. * @param buffer Address of the buffer. * @param size Size of the buffer. * @param index Index of buffer. */ -static inline void ipcAddRecvSmart(IpcCommand* cmd, size_t ipc_buffer_size, void* buffer, size_t size, u8 index) { - if (ipc_buffer_size != 0 && size <= ipc_buffer_size) { +static inline void ipcAddRecvSmart(IpcCommand* cmd, size_t pointer_buffer_size, void* buffer, size_t size, u8 index) { + if (pointer_buffer_size != 0 && size <= pointer_buffer_size) { ipcAddRecvBuffer(cmd, NULL, 0, BufferType_Normal); ipcAddRecvStatic(cmd, buffer, size, index); } else {