commit
bba5c8a39a
109 files changed
+14085
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in new issue
Block a user