summaryrefslogtreecommitdiff
path: root/prelude/slang-cpp-types.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-07-10 09:13:50 -0700
committerGitHub <noreply@github.com>2020-07-10 09:13:50 -0700
commit2503280122c7ac54cc3e42e2e54efff1d002d126 (patch)
treef16d703731801fae2169aa500b6d4cfad2d6fae8 /prelude/slang-cpp-types.h
parenta5a67aae981cb54d535089b167d3edcc3a3a2e29 (diff)
Dynamic code gen for generic local variables. (#1434)
* Dynamic code gen for generic local variables. * Fixes to function calls with generic typed `in` argument. * Fixes per code review comments
Diffstat (limited to 'prelude/slang-cpp-types.h')
-rw-r--r--prelude/slang-cpp-types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/prelude/slang-cpp-types.h b/prelude/slang-cpp-types.h
index 3bff1873f..42af9fe61 100644
--- a/prelude/slang-cpp-types.h
+++ b/prelude/slang-cpp-types.h
@@ -15,6 +15,11 @@
namespace SLANG_PRELUDE_NAMESPACE {
#endif
+struct TypeInfo
+{
+ size_t typeSize;
+};
+
template <typename T, size_t SIZE>
struct FixedArray
{