From b0ecfeb29429edbf74621997c4490a2d8e857116 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 3 Sep 2024 10:10:46 -0700 Subject: [PATCH] the matrix super macro --- fixed_wide_vectors/src/macros/matrix.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fixed_wide_vectors/src/macros/matrix.rs b/fixed_wide_vectors/src/macros/matrix.rs index 1e27a07..d442488 100644 --- a/fixed_wide_vectors/src/macros/matrix.rs +++ b/fixed_wide_vectors/src/macros/matrix.rs @@ -36,6 +36,17 @@ macro_rules! impl_matrices { $vector_infos:tt ) => { $crate::macro_repeated!(impl_matrix_shim,(),$($matrix_info),+); + $crate::macro_repeated!(impl_matrix_inner_shim,$vector_infos,$($matrix_info),+); + } +} +#[doc(hidden)] +#[macro_export(local_inner_macros)] +macro_rules! impl_matrix_inner_shim { + ( + ($($vector_info:tt),+), + $matrix_info:tt + ) => { + $crate::macro_repeated!(impl_matrix_inner,$matrix_info,$($vector_info),+); } } #[doc(hidden)]