summaryrefslogtreecommitdiffstats
path: root/source/slang/preprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/preprocessor.h')
-rw-r--r--source/slang/preprocessor.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/slang/preprocessor.h b/source/slang/preprocessor.h
index 4d02cb50b..6e8ac1c69 100644
--- a/source/slang/preprocessor.h
+++ b/source/slang/preprocessor.h
@@ -8,8 +8,9 @@
namespace Slang {
class DiagnosticSink;
+class Linkage;
+class Module;
class ModuleDecl;
-class TranslationUnitRequest;
// Callback interface for the preprocessor to use when looking
// for files in `#include` directives.
@@ -20,9 +21,6 @@ struct IncludeHandler
const String& pathIncludedFrom,
PathInfo& pathInfoOut) = 0;
- virtual SlangResult readFile(const String& path,
- ISlangBlob** blobOut) = 0;
-
virtual String simplifyPath(const String& path) = 0;
};
@@ -32,7 +30,8 @@ TokenList preprocessSource(
DiagnosticSink* sink,
IncludeHandler* includeHandler,
Dictionary<String, String> defines,
- TranslationUnitRequest* translationUnit);
+ Linkage* linkage,
+ Module* parentModule);
} // namespace Slang