◆ add()
Add a resource item to the list.
This function should be used to initialize a static global variable which will modify the static_resource_list.
Example:
Definition static_resource_list.hpp:23
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
- Parameters
-
| new_item | A pointer to the new item to be added to the list. |
- Returns
- A pointer to the previous item, should be stored into a static global variable.
◆ find()
| static const_void_span v1::static_resource_item::find |
( |
std::string_view | filename | ) |
|
|
inlinestaticnoexcept |
Search for a static resource item.
- Parameters
-
| filename | The filename of the resource to search for. |
- Returns
- A byte-span, or an empty byte-span when not found.
The documentation for this struct was generated from the following file: