Skip to content

Commit f7ee7ef

Browse files
author
GueLaKais
committed
Added commentary to ros dependency usages
1 parent 54f30fa commit f7ee7ef

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
@@ -541,6 +541,7 @@ impl std::error::Error for SequenceExceedsBoundsError {}
541541
/// * `$copy_func:ident` - The name of the extern "C" function used to copy a sequence.
542542
macro_rules! impl_sequence_alloc_for_primitive_type {
543543
($rust_type:ty, $init_func:ident, $fini_func:ident, $copy_func:ident) => {
544+
/// Provides default implementations for SequenceAlloc for primitive types.
544545
#[link(name = "rosidl_runtime_c")]
545546
extern "C" {
546547
fn $init_func(seq: *mut Sequence<$rust_type>, size: usize) -> bool;

0 commit comments

Comments
 (0)