diff options
Diffstat (limited to 'source/slang/preprocessor.h')
| -rw-r--r-- | source/slang/preprocessor.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/slang/preprocessor.h b/source/slang/preprocessor.h index 0c7848bb4..d23b19773 100644 --- a/source/slang/preprocessor.h +++ b/source/slang/preprocessor.h @@ -7,16 +7,15 @@ namespace Slang { -class CompileRequest; class DiagnosticSink; class ProgramSyntaxNode; +class TranslationUnitRequest; enum class IncludeResult { Error, NotFound, - FoundIncludeFile, - FoundAutoImportFile, + Found, }; // Callback interface for the preprocessor to use when looking @@ -36,9 +35,8 @@ TokenList preprocessSource( String const& fileName, DiagnosticSink* sink, IncludeHandler* includeHandler, - Dictionary<String, String> defines, - ProgramSyntaxNode* syntax, - CompileRequest* compileRequest); + Dictionary<String, String> defines, + TranslationUnitRequest* translationUnit); } // namespace Slang |
