2#ifndef LIBSBX_SCRIPTING_MANAGED_GARBAGE_COLLECTION_HPP_
3#define LIBSBX_SCRIPTING_MANAGED_GARBAGE_COLLECTION_HPP_
7namespace sbx::scripting::managed {
11 enum class mode : std::uint8_t {
18 static auto collect() -> void;
20 static auto collect(std::int32_t generation, mode collection_mode = mode::standart,
bool is_blocking =
true,
bool compacting =
false) -> void;
22 static auto wait_for_pending_finalizers() -> void;
Definition: garbage_collection.hpp:9