Move senseApi libs into their own outer subdir

This commit is contained in:
2025-01-08 17:16:49 -04:00
parent 988e84a545
commit d14cef5328
16 changed files with 9193 additions and 82 deletions
+3 -5
View File
@@ -38,12 +38,10 @@ public:
class SenseApiLib
{
public:
typedef const CSenseApiDesc* (SenseApiDescGetterFn)(void);
public:
SenseApiLib(const std::string& path)
: libraryPath(path), handle(nullptr, reinterpret_cast<void(*)(void*)>(&dlclose))
: libraryPath(path),
handle(nullptr, reinterpret_cast<void(*)(void*)>(&dlclose))
{}
public:
@@ -58,7 +56,7 @@ public:
* This getter function should be visible to dlsym() so that Harikoff can
* find it in the lib after loading it, and call it.
*/
std::function<SenseApiDescGetterFn> getSenseApiDescriptor;
std::function<getSenseApiDescFn> getSenseApiDescriptor;
/**
* @brief Harikoff will call the `getSenseApiDescriptor` getter function and