summaryrefslogtreecommitdiffstats
path: root/tools/slang-test/slangi-tool.h
blob: 1cba47018c91d4529b8b11a6ea5533799adeb8d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// slangi-tool.h

#ifndef SLANGI_TOOL_H_INCLUDED
#define SLANGI_TOOL_H_INCLUDED

#include "../../source/core/slang-std-writers.h"

/* The slangi 'tool' interface, such that slangc like functionality is available directly without
invoking slangc command line tool, or need for a dll/shared library. */
namespace SlangITool
{
SlangResult innerMain(
    Slang::StdWriters* stdWriters,
    SlangSession* session,
    int argc,
    const char* const* argv);
};

#endif // SLANGI_TOOL_H_INCLUDED