diff options
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -4649,6 +4649,14 @@ namespace slang */ virtual SLANG_NO_THROW bool SLANG_MCALL isBinaryModuleUpToDate( const char* modulePath, slang::IBlob* binaryModuleBlob) = 0; + + /** Load a module from a string. + */ + virtual SLANG_NO_THROW IModule* SLANG_MCALL loadModuleFromSourceString( + const char* moduleName, + const char* path, + const char* string, + slang::IBlob** outDiagnostics = nullptr) = 0; }; #define SLANG_UUID_ISession ISession::getTypeGuid() |
