acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_operating_system.h
1// Created by speccylad(Twitch)
2// From https://github.com/deetonn/stud/blob/master/stud/forward.hpp
3// by camilo on 2023-10-20 00:37 <3ThomasBorregaardSorensen!!
4// Merged acme/constant/_constant.h:enum_operating_system on 2023-10-20 00:50 by camilo
5#pragma once
6
7
8//#ifndef _STUD_FORWARD_HPP
9
10//#define _STUD_API_BEGIN namespace stud {
11//#define _STUD_UNSTABLE_API_BEGIN namespace stud::unsafe {
12//#define _STUD_DETAIL_API namespace stud::__detail {
13//#define _STUD_API_END }
14
15//#define _STUD_API_BEGIN
16//#define _STUD_UNSTABLE_API_BEGIN
18//#define _STUD_API_END
19
20#define _STUD_API inline constexpr
21
22#define _STUD_NODISCARD [[nodiscard]]
23
24#define _STUD_NOEXCEPT(expr) noexcept(noexcept(expr))
25
26//#define DISCARD(expr) ((void)expr)
27//#define NOOP() DISCARD(0)
28
29//#define _STUD ::stud::
30//#define _DETAIL ::stud::__detail::
31
32#define _NODISCARD [[nodiscard]]
33
34//_STUD_DETAIL_API
35
36
37enum enum_operating_system
38{
39
40
41 e_operating_system_unknown = -1,
42 e_operating_system_none = 0,
43 e_operating_system_current,
44 e_operating_system_windows,
45 e_operating_system_macos,
46 e_operating_system_ios,
47 e_operating_system_linux,
48 e_operating_system_android,
49 e_operating_system_unix,
50 e_operating_system_freebsd,
51
52
53};