Fix uxr_ip_to_locator and uxr_locator_to_ip visibility. (#154)
This commit is contained in:
parent
4dfeee1c92
commit
e8097a1bcb
|
@ -59,7 +59,7 @@ list(APPEND _deps "microcdr\;${_microcdr_version}")
|
|||
###############################################################################
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
|
||||
if(NOT UCLIENT_SUPERBUILD)
|
||||
project(microxrcedds_client VERSION "1.2.2" LANGUAGES C)
|
||||
project(microxrcedds_client VERSION "1.2.3" LANGUAGES C)
|
||||
else()
|
||||
project(uclient_superbuild NONE)
|
||||
include(${PROJECT_SOURCE_DIR}/cmake/SuperBuild.cmake)
|
||||
|
|
|
@ -21,6 +21,7 @@ extern "C"
|
|||
#endif
|
||||
|
||||
#include <uxr/client/core/type/xrce_types.h>
|
||||
#include <uxr/client/visibility.h>
|
||||
|
||||
typedef enum uxrIpProtocol
|
||||
{
|
||||
|
@ -41,7 +42,7 @@ typedef enum uxrIpProtocol
|
|||
* @return true In case of successful conversion.
|
||||
* @return false In other case.
|
||||
*/
|
||||
bool uxr_ip_to_locator(
|
||||
UXRDLLAPI bool uxr_ip_to_locator(
|
||||
char const * ip,
|
||||
uint16_t port,
|
||||
uxrIpProtocol ip_protocol,
|
||||
|
@ -59,7 +60,7 @@ bool uxr_ip_to_locator(
|
|||
* @return true In case of successful conversion.
|
||||
* @return false In other case.
|
||||
*/
|
||||
bool uxr_locator_to_ip(
|
||||
UXRDLLAPI bool uxr_locator_to_ip(
|
||||
TransportLocator const * locator,
|
||||
char * ip,
|
||||
size_t size,
|
||||
|
|
Loading…
Reference in New Issue