diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-10-12 22:55:41 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-10-12 22:55:41 +0800 |
commit | 9b5621bda033c2e6b7c622c7494c56a172543554 (patch) | |
tree | f5fd661441867ca8a100d5c8aedcce430864d9d4 /src/plugin | |
parent | 627d814f487ac38d4f9b9b71da9bef46f33b3dad (diff) | |
download | bullet-lab-remix-9b5621bda033c2e6b7c622c7494c56a172543554.tar.xz |
Initial implementation of smPath.
Minor changes on the (s)coll effect.
Diffstat (limited to 'src/plugin')
-rw-r--r-- | src/plugin/pluginmgr_dl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugin/pluginmgr_dl.cpp b/src/plugin/pluginmgr_dl.cpp index 337fa99..f6b4ef3 100644 --- a/src/plugin/pluginmgr_dl.cpp +++ b/src/plugin/pluginmgr_dl.cpp @@ -18,4 +18,11 @@ void pluginManager::scanPlugin() strcpy(fn[fcnt++],file->d_name); closedir(dir); } + for(int i=0;i<fcnt;++i) + { + void* hso=dlopen(fn[i],RTLD_LAZY); + if(!hso)continue; + void* hndi=dlsym(hso,"getPluginInterface"); + if(!hndi)continue; + } } |