Skip to content

Commit 8fb13e8

Browse files
committed
Rename Uint* to UInt*
1 parent 079dacd commit 8fb13e8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/gentypes.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ const _ros_builtin_types = @compat Dict{ASCIIString, Symbol}(
4444
"int16" => :Int16,
4545
"int32" => :Int32,
4646
"int64" => :Int64,
47-
"uint8" => :Uint8,
48-
"uint16" => :Uint16,
49-
"uint32" => :Uint32,
50-
"uint64" => :Uint64,
47+
"uint8" => :UInt8,
48+
"uint16" => :UInt16,
49+
"uint32" => :UInt32,
50+
"uint64" => :UInt64,
5151
"float32" => :Float32,
5252
"float64" => :Float64,
5353
"string" => :ASCIIString,
5454
"time" => :Time,
5555
"duration"=> :Duration,
5656
#Deprecated but supported
57-
"char" => :Uint8,
57+
"char" => :UInt8,
5858
"byte" => :Int8,
5959
)
6060

@@ -498,7 +498,7 @@ function _addtypemember!(exprs, namestr, typestr)
498498

499499
#uint8[] is string in rospy and PyCall's conversion to bytearray is
500500
#rejected by ROS
501-
if j_typ == :Uint8
501+
if j_typ == :UInt8
502502
pyconexpr = :(py[$namestr] =
503503
pycall(pybuiltin("str"), PyObject, PyObject(o.$namesym))
504504
)

0 commit comments

Comments
 (0)