Hide visibility of classes to avoid symbol clashes

This commit is contained in:
2025-08-12 08:58:52 +02:00
parent 235816fd20
commit 30bfa1cac5
4 changed files with 7 additions and 8 deletions

View File

@@ -25,8 +25,7 @@ extern "C" {
* 172.23.243.156:1025) * 172.23.243.156:1025)
* @return status * @return status
*/ */
epicsShareFunc int pmacAsynIPPortConfigure(const char *portName, int HIDDEN pmacAsynIPPortConfigure(const char *portName, const char *hostInfo);
const char *hostInfo);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@@ -4,9 +4,9 @@
#include "turboPmacController.h" #include "turboPmacController.h"
#include <memory> #include <memory>
struct turboPmacAxisImpl; struct HIDDEN turboPmacAxisImpl;
class turboPmacAxis : public sinqAxis { class HIDDEN turboPmacAxis : public sinqAxis {
public: public:
/** /**
* @brief Construct a new turboPmacAxis * @brief Construct a new turboPmacAxis

View File

@@ -15,11 +15,11 @@
// Forward declaration of the controller class to resolve the cyclic dependency // Forward declaration of the controller class to resolve the cyclic dependency
// between the controller and the axis .h-file. See // between the controller and the axis .h-file. See
// https://en.cppreference.com/w/cpp/language/class. // https://en.cppreference.com/w/cpp/language/class.
class turboPmacAxis; class HIDDEN turboPmacAxis;
struct turboPmacControllerImpl; struct HIDDEN turboPmacControllerImpl;
class turboPmacController : public sinqController { class HIDDEN turboPmacController : public sinqController {
public: public:
/** /**
* @brief Construct a new turboPmacController object. This function is meant * @brief Construct a new turboPmacController object. This function is meant