diff options
| author | Yong He <yonghe@outlook.com> | 2020-06-25 16:29:39 -0700 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2020-06-25 16:29:39 -0700 |
| commit | 09c64acde25dddbd70e2070df05c2e0362b750a8 (patch) | |
| tree | 92c7805b43cf6af0bfa46588b566391e122967c3 /source/slang/slang-ast-reflect.cpp | |
| parent | 218a39b65c86654772c3d6adf2479e7cadc85d24 (diff) | |
| parent | 892acc47143348d50062354492b048c4e474d1ec (diff) | |
Merge remote-tracking branch 'official/master' into dyndispatch2
Diffstat (limited to 'source/slang/slang-ast-reflect.cpp')
| -rw-r--r-- | source/slang/slang-ast-reflect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-reflect.cpp b/source/slang/slang-ast-reflect.cpp index 7d4fd0c1a..7ed5057b9 100644 --- a/source/slang/slang-ast-reflect.cpp +++ b/source/slang/slang-ast-reflect.cpp @@ -72,7 +72,7 @@ struct ASTConstructAccess #define SLANG_GET_DESTROY_FUNC_NONE(NAME) &ASTConstructAccess::Impl<NAME>::destroy #define SLANG_REFLECT_CLASS_INFO(NAME, SUPER, ORIGIN, LAST, MARKER, TYPE, param) \ - /* static */const ReflectClassInfo NAME::kReflectClassInfo = { uint32_t(ASTNodeType::NAME), uint32_t(ASTNodeType::LAST), SLANG_GET_SUPER_##TYPE(SUPER), #NAME, SLANG_GET_CREATE_FUNC_##MARKER(NAME), SLANG_GET_DESTROY_FUNC_##MARKER(NAME) }; + /* static */const ReflectClassInfo NAME::kReflectClassInfo = { uint32_t(ASTNodeType::NAME), uint32_t(ASTNodeType::LAST), SLANG_GET_SUPER_##TYPE(SUPER), #NAME, SLANG_GET_CREATE_FUNC_##MARKER(NAME), SLANG_GET_DESTROY_FUNC_##MARKER(NAME), uint32_t(sizeof(NAME)), uint8_t(SLANG_ALIGN_OF(NAME)) }; SLANG_ALL_ASTNode_NodeBase(SLANG_REFLECT_CLASS_INFO, _) |
