From 8d87fa3837d26f11b1233badbe7ec540d38a686b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 4 Feb 2019 23:37:54 +0000 Subject: DLLManager: add a function for retrieving a symbol. --- include/dynamic.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/dynamic.h b/include/dynamic.h index 905eb479e..c14452f8c 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -59,6 +59,12 @@ class CoreExport DLLManager : public classbase */ Module* CallInit(); + /** Retrieves the value of the specified symbol. + * @param name The name of the symbol to retrieve. + * @return Either the value of the specified symbol or or NULL if it does not exist. + */ + void* GetSymbol(const char* name); + /** Get detailed version information from the module file */ std::string GetVersion(); }; -- cgit v1.2.3