Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 11, 2010, 11:29:42 PM (14 years ago)
Author:
rgrieder
Message:

Added _LibraryPrivate macros to all LibraryPrereqs.h files.
You can use these to declare classes that are only used internally and don't need to have any exported symbols.

Location:
code/branches/ois_update/src
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/src/libraries/core/CorePrereqs.h

    r7284 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _CorePrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _CoreExport  __attribute__ ((visibility("default")))
     58#  define _CorePrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _CoreExport
     61#  define _CorePrivate
    5962#endif
    6063
  • code/branches/ois_update/src/libraries/network/NetworkPrereqs.h

    r7490 r7527  
    5252#    endif
    5353#  endif
    54 #elif defined ( ORXONOX_GCC_VISIBILITY )
     54#  define _NetworkPrivate
     55#elif defined (ORXONOX_GCC_VISIBILITY)
    5556#  define _NetworkExport  __attribute__ ((visibility("default")))
     57#  define _NetworkPrivate __attribute__ ((visibility("hidden")))
    5658#else
    5759#  define _NetworkExport
     60#  define _NetworkPrivate
    5861#endif
    5962
  • code/branches/ois_update/src/libraries/tools/ToolsPrereqs.h

    r7163 r7527  
    5252#    endif
    5353#  endif
    54 #elif defined ( ORXONOX_GCC_VISIBILITY )
     54#  define _ToolsPrivate
     55#elif defined (ORXONOX_GCC_VISIBILITY)
    5556#  define _ToolsExport  __attribute__ ((visibility("default")))
     57#  define _ToolsPrivate __attribute__ ((visibility("hidden")))
    5658#else
    5759#  define _ToolsExport
     60#  define _ToolsPrivate
    5861#endif
    5962
  • code/branches/ois_update/src/libraries/util/UtilPrereqs.h

    r6417 r7527  
    5252#    endif
    5353#  endif
    54 #elif defined ( ORXONOX_GCC_VISIBILITY )
     54#  define _UtilPrivate
     55#elif defined (ORXONOX_GCC_VISIBILITY)
    5556#  define _UtilExport  __attribute__ ((visibility("default")))
     57#  define _UtilPrivate __attribute__ ((visibility("hidden")))
    5658#else
    5759#  define _UtilExport
     60#  define _UtilPrivate
    5861#endif
    5962
  • code/branches/ois_update/src/modules/designtools/DesignToolsPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _DesignToolsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _DesignToolsExport  __attribute__ ((visibility("default")))
     58#  define _DesignToolsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _DesignToolsExport
     61#  define _DesignToolsPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/notifications/NotificationsPrereqs.h

    r7403 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _NotificationsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _NotificationsExport  __attribute__ ((visibility("default")))
     58#  define _NotificationsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _NotificationsExport
     61#  define _NotificationsPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/objects/ObjectsPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _ObjectsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _ObjectsExport  __attribute__ ((visibility("default")))
     58#  define _ObjectsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _ObjectsExport
     61#  define _ObjectsPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/overlays/OverlaysPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _OverlaysPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _OverlaysExport  __attribute__ ((visibility("default")))
     58#  define _OverlaysPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _OverlaysExport
     61#  define _OverlaysPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/pickup/PickupPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _PickupPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _PickupExport  __attribute__ ((visibility("default")))
     58#  define _PickupPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _PickupExport
     61#  define _PickupPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/pong/PongPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _PongPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _PongExport  __attribute__ ((visibility("default")))
     58#  define _PongPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _PongExport
     61#  define _PongPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/questsystem/QuestsystemPrereqs.h

    r7474 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _QuestsystemPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _QuestsystemExport  __attribute__ ((visibility("default")))
     58#  define _QuestsystemPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _QuestsystemExport
     61#  define _QuestsystemPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/modules/weapons/WeaponsPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _WeaponsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _WeaponsExport  __attribute__ ((visibility("default")))
     58#  define _WeaponsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _WeaponsExport
     61#  define _WeaponsPrivate
    5962#endif
    6063
  • code/branches/ois_update/src/orxonox/OrxonoxPrereqs.h

    r7163 r7527  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _OrxonoxPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _OrxonoxExport  __attribute__ ((visibility("default")))
     58#  define _OrxonoxPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _OrxonoxExport
     61#  define _OrxonoxPrivate
    5962#endif
    6063
Note: See TracChangeset for help on using the changeset viewer.