.. _program_listing_file__tmp_ws_src_kobuki_core_include_kobuki_core_macros.hpp: Program Listing for File macros.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/kobuki_core/include/kobuki_core/macros.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef KOBUKI_CORE_MACROS_HPP_ #define KOBUKI_CORE_MACROS_HPP_ /***************************************************************************** ** Includes *****************************************************************************/ #include #include /***************************************************************************** ** Declspecs *****************************************************************************/ /* * Import/exports symbols for the library */ #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries #ifdef kobuki_EXPORTS // we are building a shared lib/dll #define kobuki_PUBLIC ECL_HELPER_EXPORT #define EXP_TEMPLATE #else // we are using shared lib/dll #define kobuki_PUBLIC ECL_HELPER_IMPORT #define EXP_TEMPLATE extern #endif #define kobuki_LOCAL ECL_HELPERS_LOCAL #else // ecl is being built around static libraries #define kobuki_PUBLIC #define kobuki_LOCAL #define EXP_TEMPLATE #endif #endif /* KOBUKI_CORE_MACROS_HPP_ */