diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-07-06 11:51:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-06 11:51:19 -0400 |
| commit | 7b2a549fcf04263e07127315d72c8570e8063828 (patch) | |
| tree | 8dd94dc20d8537f1c8406f5a9e561c9a68d599db /source/slang/compiler.h | |
| parent | 338a7701b37fe133eba2f72455ba7c1790a8a1f5 (diff) | |
spCompile/spProcessCommandLineArguments return SlangResult (#610)
* * Make spCompile return SlangResult
* Make spProcessCommandLineArguments return SlangResult (and not internally exit)
* Remove calls to exit()
* Fix typos
* Make all output from spProcessCommandLineArguments get sent to diagnostic sink.
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index 398c7ac62..c6a114d7d 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -416,8 +416,8 @@ namespace Slang void generateIR(); - int executeActionsInner(); - int executeActions(); + SlangResult executeActionsInner(); + SlangResult executeActions(); int addTranslationUnit(SourceLanguage language, String const& name); |
