File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/ros2cs/rosidl_generator_cs/rosidl_generator_cs Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,12 @@ def get_marshal_type(type_):
108108 'float' : 'float' ,
109109 'double' : 'double' ,
110110 'long double' : 'double' ,
111- 'char' : 'char ' ,
112- 'wchar' : 'short ' ,
111+ 'char' : 'byte ' ,
112+ 'wchar' : 'char ' ,
113113 'boolean' : 'byte' ,
114114 'octet' : 'byte' ,
115115 'uint8' : 'byte' ,
116- 'int8' : 'char ' ,
116+ 'int8' : 'byte ' ,
117117 'uint16' : 'short' ,
118118 'int16' : 'short' ,
119119 'uint32' : 'int' ,
@@ -135,8 +135,8 @@ def get_marshal_array_type(type_):
135135 'float' : 'float' ,
136136 'double' : 'double' ,
137137 'long double' : 'double' ,
138- 'char' : 'char ' ,
139- 'wchar' : 'ushort ' ,
138+ 'char' : 'byte ' ,
139+ 'wchar' : 'char ' ,
140140 'boolean' : 'bool' ,
141141 'octet' : 'byte' ,
142142 'uint8' : 'byte' ,
You can’t perform that action at this time.
0 commit comments