From 6087a67107a1501aef619b9f5c40719ee08e5927 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 6 Jul 2023 14:10:00 +0300
Subject: [PATCH] updated sdl3_include_wrapper.h from latest SDL3
---
src/sdl3_include_wrapper.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index 9f3364a..9e46e33 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -188,7 +188,6 @@
#define SDL_GetCPUCount IGNORE_THIS_VERSION_OF_SDL_GetCPUCount
#define SDL_GetClipboardData IGNORE_THIS_VERSION_OF_SDL_GetClipboardData
#define SDL_GetClipboardText IGNORE_THIS_VERSION_OF_SDL_GetClipboardText
-#define SDL_GetClipboardUserdata IGNORE_THIS_VERSION_OF_SDL_GetClipboardUserdata
#define SDL_GetClosestFullscreenDisplayMode IGNORE_THIS_VERSION_OF_SDL_GetClosestFullscreenDisplayMode
#define SDL_GetCurrentAudioDriver IGNORE_THIS_VERSION_OF_SDL_GetCurrentAudioDriver
#define SDL_GetCurrentDisplayMode IGNORE_THIS_VERSION_OF_SDL_GetCurrentDisplayMode
@@ -895,6 +894,7 @@
#define SDL_wcsncmp IGNORE_THIS_VERSION_OF_SDL_wcsncmp
#define SDL_wcsstr IGNORE_THIS_VERSION_OF_SDL_wcsstr
#define SDL_wcstol IGNORE_THIS_VERSION_OF_SDL_wcstol
+#define SDL_ClearClipboardData IGNORE_THIS_VERSION_OF_SDL_ClearClipboardData
/* *** HACK HACK HACK:
* *** Avoid including SDL_thread.h: it defines SDL_CreateThread() as a macro
@@ -1593,10 +1593,6 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
#undef SDL_GetClipboardText
#endif
-#ifdef SDL_GetClipboardUserdata
-#undef SDL_GetClipboardUserdata
-#endif
-
#ifdef SDL_GetClosestFullscreenDisplayMode
#undef SDL_GetClosestFullscreenDisplayMode
#endif
@@ -4421,6 +4417,10 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
#undef SDL_wcstol
#endif
+#ifdef SDL_ClearClipboardData
+#undef SDL_ClearClipboardData
+#endif
+
/* undefine these macros too: */
/* redefine using SDL3_xxx, if needed. */