#include <cstdint>
#include <string>
#include <vector>
Go to the source code of this file.
◆ NAH_APP_MANIFEST
| #define NAH_APP_MANIFEST |
( |
|
builder | ) |
|
Value: namespace { \
static const auto _nah_manifest_data = (builder); \
NAH_MANIFEST_SECTION \
static const uint8_t _nah_manifest[sizeof(_nah_manifest_data)] = {}; \
} \
namespace detail { \
[[gnu::constructor]] \
void _init_manifest() { \
auto data = (builder); \
std::memcpy(const_cast<uint8_t*>(_nah_manifest), data.data(), data.size()); \
} \
} \
}
Definition at line 89 of file manifest_builder.hpp.
◆ NAH_EMBED_MANIFEST
| #define NAH_EMBED_MANIFEST |
( |
|
bytes, |
|
|
|
size |
|
) |
| |
Value: NAH_MANIFEST_SECTION \
static const uint8_t _nah_manifest_data[size] = bytes
Definition at line 106 of file manifest_builder.hpp.
◆ NAH_MANIFEST_SECTION
| #define NAH_MANIFEST_SECTION |