diff options
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/Platform.h b/include/Platform.h index 63c9514e8..342208ae0 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -435,13 +435,13 @@ public: class DynamicLibrary { public: virtual ~DynamicLibrary() {}; - + /// @return Pointer to function "name", or NULL on failure. - virtual Function *FindFunction(const char *name) = 0; - + virtual Function FindFunction(const char *name) = 0; + /// @return true if the library was loaded successfully. virtual bool IsValid() = 0; - + /// @return An instance of a DynamicLibrary subclass with "modulePath" loaded. static DynamicLibrary *Load(const char *modulePath); }; |