Skip to content

Commit

Permalink
Merge pull request #12646 from FernetMenta/local
Browse files Browse the repository at this point in the history
binary addons: do not export local class
  • Loading branch information
AlwinEsch committed Aug 7, 2017
2 parents a8fe8e3 + a1891fb commit b6318a5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion xbmc/addons/kodi-addon-dev-kit/include/kodi/AddonBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define ATTRIBUTE_PACKED __attribute__ ((packed))
#define PRAGMA_PACK 0
#if __GNUC__ >= 4
#define ATTRIBUTE_HIDDEN __attribute__ ((visibility ("hidden")))
#endif
#endif
#endif

Expand All @@ -51,6 +54,10 @@
#define PRAGMA_PACK 1
#endif

#if !defined(ATTRIBUTE_HIDDEN)
#define ATTRIBUTE_HIDDEN
#endif

#include "versions.h"

namespace kodi { namespace addon { class CAddonBase; }}
Expand Down Expand Up @@ -273,7 +280,7 @@ class CSettingValue
namespace kodi {
namespace addon {
/// Add-on main instance class.
class CAddonBase
class ATTRIBUTE_HIDDEN CAddonBase
{
public:
CAddonBase()
Expand Down

0 comments on commit b6318a5

Please sign in to comment.