comparison src/helper.cpp @ 55:81ce3ba92b16

Try to forward stderr from the checker to the log callback
author Chris Cannam
date Wed, 16 Jan 2019 14:25:28 +0000
parents 17fb9ff8e072
children e027aa280789
comparison
equal deleted inserted replaced
54:bb3d59462052 55:81ce3ba92b16
270 270
271 return { code, message }; 271 return { code, message };
272 } 272 }
273 273
274 Result result { PluginCheckCode::SUCCESS, "" }; 274 Result result { PluginCheckCode::SUCCESS, "" };
275 275
276 void *fn = DLSYM(handle, descriptor); 276 void *fn = DLSYM(handle, descriptor);
277 if (!fn) { 277 if (!fn) {
278 result = { PluginCheckCode::FAIL_DESCRIPTOR_MISSING, error() }; 278 result = { PluginCheckCode::FAIL_DESCRIPTOR_MISSING, error() };
279 } else if (descriptor == "ladspa_descriptor") { 279 } else if (descriptor == "ladspa_descriptor") {
280 result = checkLADSPAStyleDescriptorFn(fn); 280 result = checkLADSPAStyleDescriptorFn(fn);