Skip to content

Commit 5a39027

Browse files
committed
Refs #23483. Fix type resolution up to swig 4.2.0
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent 763aebc commit 5a39027

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

fastdds_python/src/swig/fastdds.i

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,13 @@ bool has_statistics();
106106
#define FASTDDS_DEPRECATED_UNTIL(major, entity_name, msg)
107107
#define FASTDDS_TODO_BEFORE(major, minor, msg)
108108

109-
// Defined template for std::vector<std::string>
109+
// Defined template for some vector containers.
110110
%template(StringVector) std::vector<std::string>;
111+
%template(uint8_t_vector) std::vector<uint8_t>;
112+
%template(uint16_t_vector) std::vector<uint16_t>;
113+
%template(int32_t_vector) std::vector<int32_t>;
114+
%template(uint32_t_vector) std::vector<uint32_t>;
115+
%template(uint64_t_vector) std::vector<uint64_t>;
111116

112117
// Predeclaration of namespaces and/or classes not exported to the target language,
113118
// but that are part of the Fast DDS public API

0 commit comments

Comments
 (0)