diff options
| author | Yong He <yonghe@outlook.com> | 2024-04-01 18:44:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-01 18:44:44 -0700 |
| commit | abb7f1a7790544010d6eaac0f137e6b39349cf76 (patch) | |
| tree | 922ca0d837d426f42a09ebec0a9a8492964c4781 /source/slang/core.meta.slang | |
| parent | 2c4f9810327d58023e9ec44f579cd78adf56317b (diff) | |
Support `[RequirePrelude]` attribute on types. (#3867)
Diffstat (limited to 'source/slang/core.meta.slang')
| -rw-r--r-- | source/slang/core.meta.slang | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index dcb1a159b..ead81fcf5 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -2575,6 +2575,9 @@ attribute_syntax [builtin] : BuiltinAttribute; __attributeTarget(DeclBase) attribute_syntax [__requiresNVAPI] : RequiresNVAPIAttribute; +__attributeTarget(AggTypeDecl) +attribute_syntax[RequirePrelude(target, prelude:String)] : RequirePreludeAttribute; + __attributeTarget(DeclBase) attribute_syntax [__AlwaysFoldIntoUseSiteAttribute] : AlwaysFoldIntoUseSiteAttribute; |
