From 4d11ad55f30e35ed5e9d8f4b8c1e5872487c6adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Mon, 3 Apr 2023 07:23:49 -0700 Subject: [PATCH] Cleanup. --- examples/25-c99/helloworld.c | 4 ++-- examples/common/entry/entry_ios.mm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/25-c99/helloworld.c b/examples/25-c99/helloworld.c index 29b1a65d0..44879f97d 100644 --- a/examples/25-c99/helloworld.c +++ b/examples/25-c99/helloworld.c @@ -7,8 +7,8 @@ #include "../00-helloworld/logo.h" extern bool entry_process_events(uint32_t* _width, uint32_t* _height, uint32_t* _debug, uint32_t* _reset); -extern void* entry_get_default_native_window_handle(); -extern void* entry_get_native_display_handle(); +extern void* entry_get_default_native_window_handle(void); +extern void* entry_get_native_display_handle(void); uint16_t uint16_max(uint16_t _a, uint16_t _b) { diff --git a/examples/common/entry/entry_ios.mm b/examples/common/entry/entry_ios.mm index aa4a9b8e6..44acb7ad8 100644 --- a/examples/common/entry/entry_ios.mm +++ b/examples/common/entry/entry_ios.mm @@ -150,7 +150,7 @@ namespace entry { if (kDefaultWindowHandle.idx == _handle.idx) { - return s_ctx.m_window; + return s_ctx->m_window; } return NULL;