20 lines
430 B
C++
20 lines
430 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
namespace esp32lua {
|
|
|
|
// A platform module compiled to bytecode and linked into the firmware. The
|
|
// module searcher tries the SD card first, so a local copy shadows the packaged
|
|
// one.
|
|
struct EmbeddedModule {
|
|
const char* name;
|
|
const unsigned char* data;
|
|
size_t size;
|
|
};
|
|
|
|
extern const EmbeddedModule embedded_modules[];
|
|
extern const size_t embedded_modules_count;
|
|
|
|
} // namespace esp32lua
|