Commit 5180a5e8 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

RTE::getFunction() can be const

parent aaee6ba4
......@@ -80,7 +80,7 @@ const std::string RTE :: getVersion(unsigned int&major, unsigned int&minor) {
return std::string("");
void*RTE :: getFunction(const std::string&name) {
void*RTE :: getFunction(const std::string&name) const {
#ifdef DL_OPEN
return (void*)dlsym(RTLD_DEFAULT, name.c_str());
#elif defined _WIN32
......@@ -43,7 +43,7 @@ namespace gem {
* resolve a function-name in the current RTE
* @return pointer to the function named 'name', or NULL if it doesn't exist
virtual void*getFunction(const std::string&name);
virtual void*getFunction(const std::string&name) const;
* find a file in the given context(canvas), searching RTEs search paths
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment