File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ internal unsafe class JazzyMessageIntrospection : IMessageIntrospection
1111 private readonly MessageMember_Jazzy * _members ;
1212
1313 public JazzyMessageIntrospection ( TypeSupportHandle typeSupport )
14- : this ( ( MessageTypeSupport_Jazzy * ) typeSupport . GetMessageTypeSupport ( ) )
14+ : this ( typeSupport . GetMessageTypeSupport ( ) )
1515 {
1616 }
1717
18- public JazzyMessageIntrospection ( MessageTypeSupport_Jazzy * ts )
18+ public JazzyMessageIntrospection ( MessageTypeSupport * ts )
1919 {
2020 fixed ( byte * id = TypeSupportIdentifier . Introspection )
2121 {
Original file line number Diff line number Diff line change @@ -41,11 +41,10 @@ public unsafe static IMessageIntrospection Create(MessageTypeSupport* typesuppor
4141 }
4242 else if ( RosEnvironment . IsJazzy )
4343 {
44- return new JazzyMessageIntrospection ( ( MessageTypeSupport_Jazzy * ) typesupport ) ;
44+ return new JazzyMessageIntrospection ( typesupport ) ;
4545 }
4646 else
4747 {
48-
4948 throw new NotSupportedException ( ) ;
5049 }
5150 }
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public unsafe readonly struct MessageTypeSupport
2929/// Contains rosidl message type support data
3030/// </summary>
3131[ StructLayout ( LayoutKind . Sequential ) ]
32- public unsafe readonly struct MessageTypeSupport_Jazzy
32+ internal unsafe readonly struct MessageTypeSupport_Jazzy
3333{
3434 /// <summary>
3535 /// String identifier for the type_support.
@@ -78,7 +78,7 @@ public unsafe readonly struct ServiceTypeSupport
7878/// Contains rosidl service type support data
7979/// </summary>
8080[ StructLayout ( LayoutKind . Sequential ) ]
81- public unsafe readonly struct ServiceTypeSupport_Jazzy
81+ internal unsafe readonly struct ServiceTypeSupport_Jazzy
8282{
8383 /// <summary>
8484 /// String identifier for the type_support.
@@ -143,7 +143,7 @@ public unsafe readonly struct ActionTypeSupport
143143/// Contains rosidl action type support data
144144/// </summary>
145145[ StructLayout ( LayoutKind . Sequential ) ]
146- public unsafe readonly struct ActionTypeSupport_Jazzy
146+ internal unsafe readonly struct ActionTypeSupport_Jazzy
147147{
148148 /// <summary>
149149 /// The native type support handle of the goal service.
You can’t perform that action at this time.
0 commit comments