diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-12-21 11:00:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-21 11:00:28 -0500 |
| commit | efa2c8f41aa5cd2c27990fd9b57ea0eff06976e7 (patch) | |
| tree | 4c1a4d8e6e71e81c42cfbf315610e380d75527bf /tools/slang-test/slangc-tool.h | |
| parent | b5bda9b3d155234be079debe6997cbc900773cf2 (diff) | |
Feature/remove app context (#765)
* Remove AppContext. Use StdChannels to hold writers, and TestToolUtil to hold test tool specific functionality.
* StdChannels -> StdWriters
* getStdOut -> getOut, getStdError -> getError
Diffstat (limited to 'tools/slang-test/slangc-tool.h')
| -rw-r--r-- | tools/slang-test/slangc-tool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/slang-test/slangc-tool.h b/tools/slang-test/slangc-tool.h index dd6e1b977..a1fcaa71b 100644 --- a/tools/slang-test/slangc-tool.h +++ b/tools/slang-test/slangc-tool.h @@ -3,13 +3,13 @@ #ifndef SLANGC_TOOL_H_INCLUDED #define SLANGC_TOOL_H_INCLUDED -#include "../../source/core/slang-app-context.h" +#include "../../source/core/slang-std-writers.h" /* The slangc 'tool' interface, such that slangc like functionality is available directly without invoking slangc command line tool, or need for a dll/shared library. */ struct SlangCTool { - static SlangResult innerMain(Slang::AppContext* appContext, SlangSession* session, int argc, const char*const* argv); + static SlangResult innerMain(Slang::StdWriters* stdWriters, SlangSession* session, int argc, const char*const* argv); }; #endif // SLANGC_TOOL_H_INCLUDED |
