diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-20 12:14:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-20 12:14:31 -0700 |
| commit | 338232bff7144c6a0e7964984765f01d9f9eecb7 (patch) | |
| tree | e62d8f184bf04df0906fcc6c8a04803febe35376 /slang.h | |
| parent | 40617db15d87ece6e7cc88da23f747f8f827c69a (diff) | |
| parent | 327f2b7ec50a7480b458d6d3ba8e2ca7fcdb8498 (diff) | |
Merge pull request #36 from tfoleyNV/entry-point-indexing
Overhaul handling of entry points and translation units.
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -281,7 +281,7 @@ extern "C" /** Add an entry point in a particular translation unit */ - SLANG_API int spAddTranslationUnitEntryPoint( + SLANG_API int spAddEntryPoint( SlangCompileRequest* request, int translationUnitIndex, char const* name, @@ -337,7 +337,6 @@ extern "C" */ SLANG_API char const* spGetEntryPointSource( SlangCompileRequest* request, - int translationUnitIndex, int entryPointIndex); |
