summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/wavm/Lib/VFS/VFS.cpp
blob: e777c85a1dd41ccd579e4036e534d13b485b435d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "WAVM/VFS/VFS.h"
#include "WAVM/Inline/Errors.h"

using namespace WAVM;
using namespace WAVM::VFS;

const char* VFS::describeResult(Result result)
{
	switch(result)
	{
		// clang-format off
#define V(name, description) case VFS::Result::name: return description;
WAVM_ENUM_VFS_RESULTS(V)
#undef V
		// clang-format on

	default: WAVM_UNREACHABLE();
	};
}