diff options
Diffstat (limited to 'include/slang.h')
| -rw-r--r-- | include/slang.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/slang.h b/include/slang.h index a3d979de5..a3ed2112a 100644 --- a/include/slang.h +++ b/include/slang.h @@ -3518,6 +3518,13 @@ struct DeclReflection return (DeclReflection*)spReflectionDecl_getParent((SlangReflectionDecl*)this); } + Modifier* findModifier(Modifier::ID id) + { + return (Modifier*)spReflectionDecl_findModifier( + (SlangReflectionDecl*)this, + (SlangModifierID)id); + } + template<Kind K> struct FilteredList { |
