diff options
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index e7c40bdc8..526168e3a 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -520,6 +520,9 @@ namespace Slang // Construct the type `InOut<valueType>` RefPtr<InOutType> getInOutType(RefPtr<Type> valueType); + // Construct the type `Ref<valueType>` + RefPtr<RefType> getRefType(RefPtr<Type> valueType); + // Construct a pointer type like `Ptr<valueType>`, but where // the actual type name for the pointer type is given by `ptrTypeName` RefPtr<PtrTypeBase> getPtrType(RefPtr<Type> valueType, char const* ptrTypeName); |
