8#include "void_span.hpp"
14namespace hi::inline v1 {
15struct static_resource_item;
34 for (
auto ptr = static_resource_list.load(); ptr !=
nullptr; ptr = ptr->next) {
35 if (filename == ptr->filename) {
56 hi_axiom(new_item !=
nullptr);
57 return new_item->next = static_resource_list.exchange(new_item);
Definition static_resource_list.hpp:23
static const_void_span find(std::string_view filename) noexcept
Search for a static resource item.
Definition static_resource_list.hpp:32
static hi_no_inline static_resource_item const * add(static_resource_item *new_item) noexcept
Add a resource item to the list.
Definition static_resource_list.hpp:54
Definition void_span.hpp:156