From 5f4928ccf5dabaa8e9df1061f7a8cc4ff1b97603 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 18 Apr 2003 10:26:34 +0000 Subject: Changed Function* to simpler Function. --- include/Platform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/Platform.h') 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); }; -- cgit v1.2.3