|
| 1 | +/* |
| 2 | + ============================================================================== |
| 3 | +
|
| 4 | + This file is part of the YUP library. |
| 5 | + Copyright (c) 2026 - kunitoki@gmail.com |
| 6 | +
|
| 7 | + YUP is an open source library subject to open-source licensing. |
| 8 | +
|
| 9 | + The code included in this file is provided under the terms of the ISC license |
| 10 | + http://www.isc.org/downloads/software-support-policy/isc-license. Permission |
| 11 | + to use, copy, modify, and/or distribute this software for any purpose with or |
| 12 | + without fee is hereby granted provided that the above copyright notice and |
| 13 | + this permission notice appear in all copies. |
| 14 | +
|
| 15 | + YUP IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER |
| 16 | + EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE |
| 17 | + DISCLAIMED. |
| 18 | +
|
| 19 | + ============================================================================== |
| 20 | +*/ |
| 21 | + |
| 22 | +#ifndef @YupPluginPrefix@_YUP_SDL_SYMBOLS_PATCH_H |
| 23 | +#define @YupPluginPrefix@_YUP_SDL_SYMBOLS_PATCH_H |
| 24 | + |
| 25 | +// SDL is linked statically into plugin bundles, so its Objective-C runtime |
| 26 | +// classes must be private to the plugin image. |
| 27 | +#define Cocoa_WindowListener @YupPluginPrefix@_YupPlugin_Cocoa_WindowListener |
| 28 | +#define METAL_RenderData @YupPluginPrefix@_YupPlugin_METAL_RenderData |
| 29 | +#define METAL_TextureData @YupPluginPrefix@_YupPlugin_METAL_TextureData |
| 30 | +#define SDLEAGLContext @YupPluginPrefix@_YupPlugin_SDLEAGLContext |
| 31 | +#define SDLOpenGLContext @YupPluginPrefix@_YupPlugin_SDLOpenGLContext |
| 32 | +#define SDLApplication @YupPluginPrefix@_YupPlugin_SDLApplication |
| 33 | +#define SDLAppDelegate @YupPluginPrefix@_YupPlugin_SDLAppDelegate |
| 34 | +#define SDLInterruptionListener @YupPluginPrefix@_YupPlugin_SDLInterruptionListener |
| 35 | +#define SDLLaunchScreenController @YupPluginPrefix@_YupPlugin_SDLLaunchScreenController |
| 36 | +#define SDLLaunchStoryboardViewController @YupPluginPrefix@_YupPlugin_SDLLaunchStoryboardViewController |
| 37 | +#define SDLMessageBoxPresenter @YupPluginPrefix@_YupPlugin_SDLMessageBoxPresenter |
| 38 | +#define SDLTranslatorResponder @YupPluginPrefix@_YupPlugin_SDLTranslatorResponder |
| 39 | +#define SDLView @YupPluginPrefix@_YupPlugin_SDLView |
| 40 | +#define SDLWindow @YupPluginPrefix@_YupPlugin_SDLWindow |
| 41 | +#define SDL_CocoaClosure @YupPluginPrefix@_YupPlugin_SDL_CocoaClosure |
| 42 | +#define SDL_DisplayData @YupPluginPrefix@_YupPlugin_SDL_DisplayData |
| 43 | +#define SDL_DisplayModeData @YupPluginPrefix@_YupPlugin_SDL_DisplayModeData |
| 44 | +#define SDL_DisplayWatch @YupPluginPrefix@_YupPlugin_SDL_DisplayWatch |
| 45 | +#define SDL_LifecycleObserver @YupPluginPrefix@_YupPlugin_SDL_LifecycleObserver |
| 46 | +#define SDL_RumbleContext @YupPluginPrefix@_YupPlugin_SDL_RumbleContext |
| 47 | +#define SDL_RumbleMotor @YupPluginPrefix@_YupPlugin_SDL_RumbleMotor |
| 48 | +#define SDL_ShapeData @YupPluginPrefix@_YupPlugin_SDL_ShapeData |
| 49 | +#define SDL_VideoData @YupPluginPrefix@_YupPlugin_SDL_VideoData |
| 50 | +#define SDL_WindowData @YupPluginPrefix@_YupPlugin_SDL_WindowData |
| 51 | +#define SDL_cocoametalview @YupPluginPrefix@_YupPlugin_SDL_cocoametalview |
| 52 | +#define SDL_uikitmetalview @YupPluginPrefix@_YupPlugin_SDL_uikitmetalview |
| 53 | +#define SDL_uikitopenglview @YupPluginPrefix@_YupPlugin_SDL_uikitopenglview |
| 54 | +#define SDL_uikitview @YupPluginPrefix@_YupPlugin_SDL_uikitview |
| 55 | +#define SDL_uikitviewcontroller @YupPluginPrefix@_YupPlugin_SDL_uikitviewcontroller |
| 56 | +#define SDL_uikitwindow @YupPluginPrefix@_YupPlugin_SDL_uikitwindow |
| 57 | +#define SDLUIKitDelegate @YupPluginPrefix@_YupPlugin_SDLUIKitDelegate |
| 58 | +#define SDLUITextField @YupPluginPrefix@_YupPlugin_SDLUITextField |
| 59 | + |
| 60 | +#define HIDBLEDevice @YupPluginPrefix@_YupPlugin_HIDBLEDevice |
| 61 | +#define HIDBLEManager @YupPluginPrefix@_YupPlugin_HIDBLEManager |
| 62 | + |
| 63 | +#endif // @YupPluginPrefix@_YUP_SDL_SYMBOLS_PATCH_H |
0 commit comments