sandbox
Loading...
Searching...
No Matches
core.hpp
1// SPDX-License-Identifier: MIT
2#ifndef LIBSBX_SCRIPTING_MANAGED_CORE_HPP_
3#define LIBSBX_SCRIPTING_MANAGED_CORE_HPP_
4
5#include <cstdint>
6
7#include <libsbx/scripting/managed/platform.hpp>
8
9namespace sbx::scripting::managed {
10
11using bool32 = std::uint32_t;
12
13enum class type_accessibility : std::uint8_t {
14 public_access,
15 private_access,
16 protected_access,
17 internal_access,
18 protected_public_access,
19 private_protected_access
20}; // enum class type_accessibility
21
22using type_id = std::int32_t;
23using handle = std::int32_t;
24
26 const char_type* name;
27 void* native_function_pointer;
28}; // struct internal_call
29
30} // namespace sbx::scripting::managed
31
32#endif // LIBSBX_SCRIPTING_MANAGED_CORE_HPP_