aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-29 16:31:29 -0700
committerrtk0c <[email protected]>2022-05-29 16:31:29 -0700
commit32f00c086b35c5bc32d800b96253b378b9367580 (patch)
tree170ce4b7230914cf8e655626beae900a4b388dff
parent66b63ae887f553e1cac813546a6b827a9c85d80c (diff)
Changeset: 46 Move lookup table infra to source-common/
-rw-r--r--buildtools/codegen/main.cpp2
-rw-r--r--source-common/LookupTable.hpp (renamed from buildtools/codegen/CodegenLookupTable.hpp)3
2 files changed, 4 insertions, 1 deletions
diff --git a/buildtools/codegen/main.cpp b/buildtools/codegen/main.cpp
index ed8cbbe..334b195 100644
--- a/buildtools/codegen/main.cpp
+++ b/buildtools/codegen/main.cpp
@@ -1,11 +1,11 @@
#include "CodegenConfig.hpp"
#include "CodegenDecl.hpp"
-#include "CodegenLookupTable.hpp"
#include "CodegenInput.inl"
#include "CodegenOutput.inl"
#include <Enum.hpp>
+#include <LookupTable.hpp>
#include <Macros.hpp>
#include <ScopeGuard.hpp>
#include <Utils.hpp>
diff --git a/buildtools/codegen/CodegenLookupTable.hpp b/source-common/LookupTable.hpp
index 2b6a993..c50e28e 100644
--- a/buildtools/codegen/CodegenLookupTable.hpp
+++ b/source-common/LookupTable.hpp
@@ -1,5 +1,8 @@
#pragma once
+#include <robin_hood.h>
+#include <string_view>
+
// BIDI stands for bi-directional
#define BIDI_LUT_DECL(name, aType, aCount, bType, bCount) \
int gLut_##name##_A2B[aCount]; \