Skip to content

Commit 2abd770

Browse files
Regenerate types with Fast DDS Gen 4.3.0 (#287)
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
1 parent 80a4287 commit 2abd770

38 files changed

Lines changed: 1035 additions & 1219 deletions

fastdds_python/test/types/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ target_link_libraries(${${PROJECT_NAME}_MODULE}
116116
)
117117

118118
# Find the installation path
119-
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_python_lib(plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}'))"
119+
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from sysconfig import get_path; print(get_path('purelib', vars={'base': '${CMAKE_INSTALL_PREFIX}'}))"
120120
OUTPUT_VARIABLE _ABS_PYTHON_MODULE_PATH
121121
OUTPUT_STRIP_TRAILING_WHITESPACE
122122
)
@@ -228,7 +228,7 @@ target_link_libraries(${${PROJECT_NAME}_MODULE}
228228
)
229229

230230
# Find the installation path
231-
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_python_lib(plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}'))"
231+
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from sysconfig import get_path; print(get_path('purelib', vars={'base': '${CMAKE_INSTALL_PREFIX}'}))"
232232
OUTPUT_VARIABLE _ABS_PYTHON_MODULE_PATH
233233
OUTPUT_STRIP_TRAILING_WHITESPACE
234234
)
@@ -341,7 +341,7 @@ target_link_libraries(${${PROJECT_NAME}_MODULE}
341341
)
342342

343343
# Find the installation path
344-
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_python_lib(plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}'))"
344+
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from sysconfig import get_path; print(get_path('purelib', vars={'base': '${CMAKE_INSTALL_PREFIX}'}))"
345345
OUTPUT_VARIABLE _ABS_PYTHON_MODULE_PATH
346346
OUTPUT_STRIP_TRAILING_WHITESPACE
347347
)

fastdds_python/test/types/test_complete.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @file test_complete.hpp
1717
* This header file contains the declaration of the described types in the IDL file.
1818
*
19-
* This file was generated by the tool fastddsgen (version: 4.2.0).
19+
* This file was generated by the tool fastddsgen (version: 4.3.0).
2020
*/
2121

2222
#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_HPP

fastdds_python/test/types/test_complete.i

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @file test_complete.i
1717
* This header file contains the SWIG interface of the described types in the IDL file.
1818
*
19-
* This file was generated by the tool fastddsgen (version: 4.2.0).
19+
* This file was generated by the tool fastddsgen (version: 4.3.0).
2020
*/
2121

2222
%module(moduleimport="if __import__('os').name == 'nt': import win32api; win32api.LoadLibrary('test_complete.dll')\nif __package__ or '.' in __name__:\n from . import _test_completeWrapper\nelse:\n import _test_completeWrapper") test_complete
@@ -2802,6 +2802,7 @@ namespace swig {
28022802

28032803
// Include the class interfaces
28042804
%include "test_complete.hpp"
2805+
28052806
// Include the corresponding TopicDataType
28062807
%include "test_completePubSubTypes.i"
28072808

fastdds_python/test/types/test_completeCdrAux.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@
1616
* @file test_completeCdrAux.hpp
1717
* This source file contains some definitions of CDR related functions.
1818
*
19-
* This file was generated by the tool fastddsgen (version: 4.2.0).
19+
* This file was generated by the tool fastddsgen (version: 4.3.0).
2020
*/
2121

2222
#ifndef FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_HPP
2323
#define FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_HPP
2424

2525
#include "test_complete.hpp"
26+
2627
constexpr uint32_t CompleteTestType_max_cdr_typesize {8164UL};
2728
constexpr uint32_t CompleteTestType_max_key_cdr_typesize {0UL};
2829

fastdds_python/test/types/test_completeCdrAux.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @file test_completeCdrAux.ipp
1717
* This source file contains some declarations of CDR related functions.
1818
*
19-
* This file was generated by the tool fastddsgen (version: 4.2.0).
19+
* This file was generated by the tool fastddsgen (version: 4.3.0).
2020
*/
2121

2222
#ifndef FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_IPP

0 commit comments

Comments
 (0)