Something went wrong. Try again.
Monorepo for PackTools - tooling for Minecraft Modpacks!
Something went wrong. Try again.
123456789101112131415161718192021222324#pragma once
#include <span>#include <string_view>
namespace packluau {
/// One embedded stdlib module (SPEC.md section 8): `@pw/<name>`, its `--!pw` lines, and the/// bytecode Luau's compiler produced at build time.struct StdlibModule { std::string_view name; std::string_view header; std::span<const unsigned char> bytecode;};
/// Every embedded module, sorted by name. Defined in the source `tools/stdlib_compile.cpp`/// generates at build time.[[nodiscard]] std::span<const StdlibModule> stdlib_modules() noexcept;
/// The module `name` names (without `@pw/`), or null.[[nodiscard]] const StdlibModule *find_stdlib(std::string_view name) noexcept;
} // namespace packluau