From 55725cf5ec61ac9b3685bc4952095475da5c9178 Mon Sep 17 00:00:00 2001 From: Princess of Sleeping Date: Fri, 26 Jun 2020 21:32:02 +0900 Subject: Fix many args (#451) Changes document and variable types--- include/user/kernel/sysmem.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/user/kernel/sysmem.h') diff --git a/include/user/kernel/sysmem.h b/include/user/kernel/sysmem.h index 1e0ea9c..654949d 100644 --- a/include/user/kernel/sysmem.h +++ b/include/user/kernel/sysmem.h @@ -64,11 +64,11 @@ typedef enum SceKernelMemoryType { * @param[in] name - Name for the memory block * @param[in] type - Type of the memory to allocate * @param[in] size - Size of the memory to allocate - * @param[in] optp - Memory block options? + * @param[in] opt - Memory block options? * * @return SceUID of the memory block on success, < 0 on error. */ -SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int size, SceKernelAllocMemBlockOpt *optp); +SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, SceSize size, SceKernelAllocMemBlockOpt *opt); /** * Frees new memory block @@ -82,12 +82,12 @@ int sceKernelFreeMemBlock(SceUID uid); /** * Gets the base address of a memory block * - * @param[in] uid - SceUID of the memory block to free - * @param[out] basep - Base address of the memory block identified by SceUID + * @param[in] uid - SceUID of the memory block to free + * @param[out] base - Base address of the memory block identified by SceUID * * @return 0 on success, < 0 on error. */ -int sceKernelGetMemBlockBase(SceUID uid, void **basep); +int sceKernelGetMemBlockBase(SceUID uid, void **base); SceUID sceKernelFindMemBlockByAddr(const void *addr, SceSize size); -- cgit v1.2.3