Skip to content

Commit 48a511a

Browse files
author
GueLaKais
committed
Added commentary to ros dependency usages
1 parent f5d1fad commit 48a511a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rosidl_runtime_rs/src/sequence.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ impl std::error::Error for SequenceExceedsBoundsError {}
522522
/// * `$copy_func:ident` - The name of the extern "C" function used to copy a sequence.
523523
macro_rules! impl_sequence_alloc_for_primitive_type {
524524
($rust_type:ty, $init_func:ident, $fini_func:ident, $copy_func:ident) => {
525+
/// Provides default implementations for SequenceAlloc for primitive types.
525526
#[link(name = "rosidl_runtime_c")]
526527
extern "C" {
527528
fn $init_func(seq: *mut Sequence<$rust_type>, size: usize) -> bool;

0 commit comments

Comments
 (0)