summaryrefslogtreecommitdiff
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-01-19 18:20:23 -0500
committerYong He <yonghe@outlook.com>2018-01-19 22:21:29 -0500
commit9d515dd257498cba9144dd31f2f3219e997e03d0 (patch)
tree131571608747f80354236ba62ca946c7fc703db7 /source/slang/compiler.h
parent2079b941bc5849b6ab33774fb90cefe9c2d624cb (diff)
Allow arbitrary type string as type argument in spAddEntryPointEx.
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index 1fca4751c..4854f4060 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -104,7 +104,7 @@ namespace Slang
// The type names we want to substitute into the
// global generic type parameters
- List<Name*> genericParameterTypeNames;
+ List<String> genericParameterTypeNames;
// The profile that the entry point will be compiled for
// (this is a combination of the target state, and also
@@ -318,6 +318,8 @@ namespace Slang
~CompileRequest();
+ RefPtr<Expr> parseTypeString(TranslationUnitRequest * translationUnit, String typeStr, RefPtr<Scope> scope);
+
void parseTranslationUnit(
TranslationUnitRequest* translationUnit);