From df00df5a7a5bcd9076d4423128ea014ab3535626 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 11 Feb 2024 18:17:33 +0100 Subject: Update kit --- source/kit/shared_memory.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/kit/shared_memory.h') diff --git a/source/kit/shared_memory.h b/source/kit/shared_memory.h index bd910cb..0c0c1ce 100644 --- a/source/kit/shared_memory.h +++ b/source/kit/shared_memory.h @@ -13,9 +13,9 @@ extern "C" { #endif typedef struct { - kit_status_t status; - i64 size; - u8 *bytes; + s32 status; + i64 size; + u8 *bytes; #if defined(_WIN32) && !defined(__CYGWIN__) void *_handle; #else @@ -31,8 +31,8 @@ enum { kit_shared_memory_t kit_shared_memory_open(kit_str_t name, i64 size, i32 mode); -kit_status_t kit_shared_memory_close(kit_shared_memory_t *mem); -kit_status_t kit_shared_memory_clean(kit_str_t name); +s32 kit_shared_memory_close(kit_shared_memory_t *mem); +s32 kit_shared_memory_clean(kit_str_t name); #ifdef __cplusplus } -- cgit v1.2.3