diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-04-28 12:00:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 12:00:52 +0800 |
| commit | b07f4effda2f87ac9b3229e588121d224fd8cf52 (patch) | |
| tree | 95d4602ba4a3fffe9a879a4960602e8b8d887017 /source/slang/slang-ast-type.h | |
| parent | 53793612e3a2f1cadc4f7cbf703bcd94b7121414 (diff) | |
Use Index for FuncType param count (#2853)
Diffstat (limited to 'source/slang/slang-ast-type.h')
| -rw-r--r-- | source/slang/slang-ast-type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ast-type.h b/source/slang/slang-ast-type.h index cb3fde9f9..67288a59d 100644 --- a/source/slang/slang-ast-type.h +++ b/source/slang/slang-ast-type.h @@ -674,8 +674,8 @@ class FuncType : public Type Type* resultType = nullptr; Type* errorType = nullptr; - UInt getParamCount() { return paramTypes.getCount(); } - Type* getParamType(UInt index) { return paramTypes[index]; } + Index getParamCount() { return paramTypes.getCount(); } + Type* getParamType(Index index) { return paramTypes[index]; } Type* getResultType() { return resultType; } Type* getErrorType() { return errorType; } |
