Files
faumaray bba5c8a39a initial commit
Signed-off-by: Aleksey Selihov <faumaray@gmail.com>
2026-05-22 02:40:32 +03:00

18 lines
402 B
C++

#pragma once
#include <filesystem>
#include <string>
namespace voidlibc::voidlink {
struct WriteResult {
bool ok = false;
std::string error;
};
// Writes a syntactically-valid .vlc containing no sections, no symbols,
// no imports, no exports. Used for M0 round-trip testing of the format.
WriteResult write_empty(const std::filesystem::path& out_path);
} // namespace voidlibc::voidlink