From 7b2a549fcf04263e07127315d72c8570e8063828 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 6 Jul 2018 11:51:19 -0400 Subject: 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. --- source/slang/compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/compiler.h') 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); -- cgit v1.2.3