1 // SPDX-FileCopyrightText: Copyright 2014 Emil Velikov
2 // SPDX-License-Identifier: BSD-2-Clause
6 #include "wcore_platform.h"
7 #include "wcore_util.h"
10 struct wcore_platform wcore
;
12 /// @brief The full system version number - (major << 8) | minor.
14 /// For example, 0x0501 indicates Windows XP.
15 int32_t system_version_full
;
17 /// @brief The class name of the waffle windows.
18 const char *class_name
;
21 static inline struct wgl_platform
*
22 wgl_platform(struct wcore_platform
*wcore
)
24 return (struct wgl_platform
*)wcore
;
27 struct wcore_platform
*
28 wgl_platform_create(void);