/** The last error string, or NULL
*/
- char *err;
+ const char *err;
public:
/** This constructor loads the module using dlopen()
/** Get the last error from dlopen() or dlsym().
* @return The last error string, or NULL if no error has occured.
*/
- char* LastError()
+ const char* LastError()
{
return err;
}
}
}
+ /** Calls the 'init_module' C exported function within a module, which
+ * returns a pointer to a Module derived object.
+ */
ReturnType* CallInit()
{
if(init_func)
};
#endif
+