summaryrefslogtreecommitdiff
path: root/tools/slang-test/slangc-tool.h
blob: a1fcaa71ba81fc8644dc40f922c43198db29e3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// slangc-tool.h

#ifndef SLANGC_TOOL_H_INCLUDED
#define SLANGC_TOOL_H_INCLUDED

#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::StdWriters* stdWriters, SlangSession* session, int argc, const char*const* argv);
};

#endif // SLANGC_TOOL_H_INCLUDED