Fix uxr_ip_to_locator and uxr_locator_to_ip visibility. (#154)

This commit is contained in:
Julián Bermúdez Ortega 2020-05-20 15:10:59 +02:00 committed by GitHub
parent 4dfeee1c92
commit e8097a1bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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,