IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
log_module.hxx
Go to the documentation of this file.
1
3
4#pragma once
6
7namespace ice
8{
9
11
12 struct LogModule
13 {
14 static void init(ice::Allocator& alloc, ice::ModuleNegotiatorBase const& negotiator) noexcept;
15
16 static bool on_load(ice::Allocator& alloc, ice::ModuleNegotiatorBase const& negotiator) noexcept;
17 static void on_unload(ice::Allocator& alloc) noexcept;
18 };
19
20} // namespace ice
Helper type over the ModuleNegotiatorAPI type.
Definition module_negotiator.hxx:51
SPDX-License-Identifier: MIT.
Definition array.hxx:12
void log_module_init(ice::Allocator &alloc, ice::ModuleNegotiatorBase const &negotiator) noexcept
auto alloc(ice::usize size) noexcept -> ice::AllocResult
ice::AllocatorBase< ice::build::is_debug||ice::build::is_develop > Allocator
Definition mem_types.hxx:25
Definition log_module.hxx:13
static bool on_load(ice::Allocator &alloc, ice::ModuleNegotiatorBase const &negotiator) noexcept
static void on_unload(ice::Allocator &alloc) noexcept
static void init(ice::Allocator &alloc, ice::ModuleNegotiatorBase const &negotiator) noexcept