diff options
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-shared-library.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/slang-shared-library.h b/source/core/slang-shared-library.h index 9015219b1..ab91a6501 100644 --- a/source/core/slang-shared-library.h +++ b/source/core/slang-shared-library.h @@ -81,6 +81,11 @@ class ScopeSharedLibrary : public DefaultSharedLibrary public: typedef DefaultSharedLibrary Super; + static ComPtr<ISlangSharedLibrary> create(const SharedLibrary::Handle sharedLibraryHandle, ISlangUnknown* scope) + { + return ComPtr< ISlangSharedLibrary>(new ScopeSharedLibrary(sharedLibraryHandle, scope)); + } + /// Ctor ScopeSharedLibrary(const SharedLibrary::Handle sharedLibraryHandle, ISlangUnknown* scope) : Super(sharedLibraryHandle), |
