some changes in artifical-star plugin, add simplest centroids example

This commit is contained in:
2024-05-14 17:20:03 +03:00
parent eb8f497b0b
commit 1788fea1c3
10 changed files with 346 additions and 167 deletions

View File

@@ -308,7 +308,7 @@ cc_IMG *cc_getshm(key_t key, size_t imsize){
// find plugin
static void *open_plugin(const char *name){
void *open_plugin(const char *name){
DBG("try to open lib %s", name);
void* dlh = dlopen(name, RTLD_NOLOAD); // library may be already opened
if(!dlh){