diff --git a/MiniEngine.h b/MiniEngine.h index 24caaf3..3379096 100644 --- a/MiniEngine.h +++ b/MiniEngine.h @@ -478,6 +478,13 @@ namespace MiniEngine ~SharedLibrary(); int load(const std::string& Filename); int unload(); + + template + std::function get(const std::string& FunctionName) + { + return std::function(reinterpret_cast(get(FunctionName))); + } + void* get(const std::string& FunctionName); void release(); private: