summaryrefslogtreecommitdiffstats
path: root/tools/slang-test/slangc-tool.h
blob: 0bbcd22f53aa0d2e495c8646a82c647208a5b024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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