Rename aliases

This commit is contained in:
2026-06-26 15:23:36 +01:00
parent dc348f3e71
commit 61c1ec99e5
31 changed files with 146 additions and 146 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ BEGIN_C_LINKAGE
void *wapp_os_mem_alloc(void *addr, u64 size, MemAccess access, MemAllocFlags flags, MemInitType type);
void wapp_os_mem_free(void *ptr, u64 size);
wapp_extern void *os_mem_allocate(void *addr, u64 size, MemAccess access, MemAllocFlags flags, MemInitType type);
wapp_extern void os_mem_free(void *ptr, u64 size);
wp_extern void *os_mem_allocate(void *addr, u64 size, MemAccess access, MemAllocFlags flags, MemInitType type);
wp_extern void os_mem_free(void *ptr, u64 size);
#ifdef WP_PLATFORM_CPP
END_C_LINKAGE
+1 -1
View File
@@ -9,7 +9,7 @@
#include "../mem_os_ops.h"
#include <sys/mman.h>
wapp_intern const i32 access_types[] = {
wp_intern const i32 access_types[] = {
[WAPP_MEM_ACCESS_NONE] = PROT_NONE,
[WAPP_MEM_ACCESS_READ_ONLY] = PROT_READ,
[WAPP_MEM_ACCESS_EXEC_ONLY] = PROT_EXEC,
+1 -1
View File
@@ -12,7 +12,7 @@
#include <Windows.h>
#include <memoryapi.h>
wapp_intern const i32 access_types[] = {
wp_intern const i32 access_types[] = {
[WAPP_MEM_ACCESS_NONE] = PAGE_NOACCESS,
[WAPP_MEM_ACCESS_READ_ONLY] = PAGE_READONLY,
[WAPP_MEM_ACCESS_EXEC_ONLY] = PAGE_EXECUTE,