[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add c-type variants for intarray functions (c646f8480)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Sep 20 11:39:59 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/c646f84806bec59e2af22a6ab023bd8e3e4cbd81
>---------------------------------------------------------------
commit c646f84806bec59e2af22a6ab023bd8e3e4cbd81
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Sep 20 10:39:59 2019 +0100
Add c-type variants for intarray functions
>---------------------------------------------------------------
c646f84806bec59e2af22a6ab023bd8e3e4cbd81
l3kernel/l3candidates.dtx | 6 +++-
l3kernel/l3intarray.dtx | 59 ++++++++++++++++++++++-----------
l3kernel/testfiles/m3expl001.luatex.tlg | 10 ++++++
l3kernel/testfiles/m3expl001.ptex.tlg | 10 ++++++
l3kernel/testfiles/m3expl001.tlg | 10 ++++++
l3kernel/testfiles/m3expl001.uptex.tlg | 10 ++++++
l3kernel/testfiles/m3expl001.xetex.tlg | 10 ++++++
l3kernel/testfiles/m3expl003.luatex.tlg | 10 ++++++
l3kernel/testfiles/m3expl003.ptex.tlg | 10 ++++++
l3kernel/testfiles/m3expl003.tlg | 10 ++++++
l3kernel/testfiles/m3expl003.uptex.tlg | 10 ++++++
l3kernel/testfiles/m3expl003.xetex.tlg | 10 ++++++
12 files changed, 145 insertions(+), 20 deletions(-)
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 4adc23e2f..27232f37f 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -358,7 +358,11 @@
%
% \section{Additions to \pkg{l3intarray}}
%
-% \begin{function}[added = 2018-05-05]{\intarray_gset_rand:Nnn, \intarray_gset_rand:Nn}
+% \begin{function}[added = 2018-05-05]
+% {
+% \intarray_gset_rand:Nnn, \intarray_gset_rand:cnn,
+% \intarray_gset_rand:Nn, \intarray_gset_rand:cn
+% }
% \begin{syntax}
% \cs{intarray_gset_rand:Nnn} \meta{intarray~var} \Arg{minimum} \Arg{maximum}
% \cs{intarray_gset_rand:Nn} \meta{intarray~var} \Arg{maximum}
diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index 7e3ebbbf7..6302e2088 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -66,7 +66,7 @@
% The use of \texttt{intarray} data is therefore recommended for cases where
% the need for fast access is of paramount importance.
%
-% \begin{function}[added = 2018-03-29]{\intarray_new:Nn}
+% \begin{function}[added = 2018-03-29]{\intarray_new:Nn, \intarray_new:cn}
% \begin{syntax}
% \cs{intarray_new:Nn} \meta{intarray~var} \Arg{size}
% \end{syntax}
@@ -76,7 +76,7 @@
% always global.
% \end{function}
%
-% \begin{function}[EXP, added = 2018-03-29]{\intarray_count:N}
+% \begin{function}[EXP, added = 2018-03-29]{\intarray_count:N, \intarray_count:c}
% \begin{syntax}
% \cs{intarray_count:N} \meta{intarray~var}
% \end{syntax}
@@ -84,7 +84,7 @@
% Contrarily to \cs{seq_count:N} this is performed in constant time.
% \end{function}
%
-% \begin{function}[added = 2018-03-29]{\intarray_gset:Nnn}
+% \begin{function}[added = 2018-03-29]{\intarray_gset:Nnn, \intarray_gset:cnn}
% \begin{syntax}
% \cs{intarray_gset:Nnn} \meta{intarray~var} \Arg{position} \Arg{value}
% \end{syntax}
@@ -96,7 +96,8 @@
% global.
% \end{function}
%
-% \begin{function}[added = 2018-05-04]{\intarray_const_from_clist:Nn}
+% \begin{function}[added = 2018-05-04]
+% {\intarray_const_from_clist:Nn, \intarray_const_from_clist:cn}
% \begin{syntax}
% \cs{intarray_const_from_clist:Nn} \meta{intarray~var} \meta{intexpr clist}
% \end{syntax}
@@ -106,7 +107,7 @@
% evaluating each \meta{integer expression} in the \meta{comma list}.
% \end{function}
%
-% \begin{function}[added = 2018-05-04]{\intarray_gzero:N}
+% \begin{function}[added = 2018-05-04]{\intarray_gzero:N, \intarray_gzero:c}
% \begin{syntax}
% \cs{intarray_gzero:N} \meta{intarray~var}
% \end{syntax}
@@ -114,7 +115,7 @@
% Assignments are always global.
% \end{function}
%
-% \begin{function}[EXP, added = 2018-03-29]{\intarray_item:Nn}
+% \begin{function}[EXP, added = 2018-03-29]{\intarray_item:Nn, \intarray_item:cn}
% \begin{syntax}
% \cs{intarray_item:Nn} \meta{intarray~var} \Arg{position}
% \end{syntax}
@@ -124,7 +125,8 @@
% error occurs.
% \end{function}
%
-% \begin{function}[EXP, added = 2018-05-05]{\intarray_rand_item:N}
+% \begin{function}[EXP, added = 2018-05-05]
+% {\intarray_rand_item:N, \intarray_rand_item:c}
% \begin{syntax}
% \cs{intarray_rand_item:N} \meta{intarray~var}
% \end{syntax}
@@ -132,7 +134,8 @@
% \meta{integer array} is empty, produce an error.
% \end{function}
%
-% \begin{function}[added = 2018-05-04]{\intarray_show:N, \intarray_log:N}
+% \begin{function}[added = 2018-05-04]
+% {\intarray_show:N, \intarray_show:c, \intarray_log:N, \intarray_log:c}
% \begin{syntax}
% \cs{intarray_show:N} \meta{intarray~var}
% \cs{intarray_log:N} \meta{intarray~var}
@@ -206,7 +209,8 @@
{ Size~of~array~may~not~be~negative:~#1 }
% \end{macrocode}
%
-% \begin{macro}{\intarray_new:Nn, \@@_new:N}
+% \begin{macro}{\intarray_new:Nn, \intarray_new:cn}
+% \begin{macro}{\@@_new:N}
% Declare |#1| to be a font (arbitrarily |cmr10| at a never-used
% size). Store the array's size as the \tn{hyphenchar} of that font
% and make sure enough \tn{fontdimen} are allocated, by setting the
@@ -239,13 +243,16 @@
\int_compare:nNnT { \intarray_count:N #1 } > 0
{ \__kernel_intarray_gset:Nnn #1 { \intarray_count:N #1 } { 0 } }
}
+\cs_generate_variant:Nn \intarray_new:Nn { c }
% \end{macrocode}
% \end{macro}
+% \end{macro}
%
-% \begin{macro}[EXP]{\intarray_count:N}
+% \begin{macro}[EXP]{\intarray_count:N, \intarray_count:c}
% Size of an array.
% \begin{macrocode}
\cs_new:Npn \intarray_count:N #1 { \int_value:w \@@_count:w #1 }
+\cs_generate_variant:Nn \intarray_count:N { c }
% \end{macrocode}
% \end{macro}
%
@@ -287,7 +294,7 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\intarray_gset:Nnn, \__kernel_intarray_gset:Nnn}
+% \begin{macro}{\intarray_gset:Nnn, \intarray_gset:cnn, \__kernel_intarray_gset:Nnn}
% \begin{macro}{\@@_gset:Nnn, \@@_gset_overflow:Nnn}
% Set the appropriate \tn{fontdimen}. The
% \cs{__kernel_intarray_gset:Nnn} function does not use
@@ -304,6 +311,7 @@
\int_value:w \int_eval:n {#2} \exp_after:wN ;
\int_value:w \int_eval:n {#3} ;
}
+\cs_generate_variant:Nn \intarray_gset:Nnn { c }
\cs_new_protected:Npn \@@_gset:Nww #1#2 ; #3 ;
{
\@@_bounds:NNnTF \__kernel_msg_error:nnxxx #1 {#2}
@@ -340,7 +348,7 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\intarray_gzero:N}
+% \begin{macro}{\intarray_gzero:N, \intarray_gzero:c}
% Set the appropriate \tn{fontdimen} to zero. No bound checking
% needed. The \cs{prg_replicate:nn} possibly uses quite a lot of
% memory, but this is somewhat comparable to the size of the array,
@@ -355,10 +363,11 @@
\@@_entry:w \l_@@_loop_int #1 \c_zero_dim
}
}
+\cs_generate_variant:Nn \intarray_gzero:N { c }
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[EXP]{\intarray_item:Nn, \__kernel_intarray_item:Nn}
+% \begin{macro}[EXP]{\intarray_item:Nn, \intarray_item:cn, \__kernel_intarray_item:Nn}
% \begin{macro}{\@@_item:Nn}
% Get the appropriate \tn{fontdimen} and perform bound checks. The
% \cs{__kernel_intarray_item:Nn} function omits bound checks and omits
@@ -373,6 +382,7 @@
\exp_after:wN #1
\int_value:w \int_eval:n {#2} ;
}
+\cs_generate_variant:Nn \intarray_item:Nn { c }
\cs_new:Npn \@@_item:Nw #1#2 ;
{
\@@_bounds:NNnTF \__kernel_msg_expandable_error:nnfff #1 {#2}
@@ -383,17 +393,19 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\intarray_rand_item:N}
+% \begin{macro}{\intarray_rand_item:N, \intarray_rand_item:c}
% Importantly, \cs{intarray_item:Nn} only evaluates its argument once.
% \begin{macrocode}
\cs_new:Npn \intarray_rand_item:N #1
{ \intarray_item:Nn #1 { \int_rand:n { \intarray_count:N #1 } } }
+\cs_generate_variant:Nn \intarray_rand_item:N { c }
% \end{macrocode}
% \end{macro}
%
% \subsection{Working with contents of integer arrays}
%
-% \begin{macro}{\intarray_const_from_clist:Nn, \@@_const_from_clist:nN}
+% \begin{macro}{\intarray_const_from_clist:Nn, \intarray_const_from_clist:cn}
+% \begin{macro}{\@@_const_from_clist:nN}
% Similar to \cs{intarray_new:Nn} (which we don't use because when
% debugging is enabled that function checks the variable name starts
% with |g_|). We make use of the fact that \TeX{} allows allocation
@@ -412,6 +424,7 @@
{ \exp_args:Nf \@@_const_from_clist:nN { \int_eval:n {##1} } #1 }
\@@_count:w #1 \l_@@_loop_int
}
+\cs_generate_variant:Nn \intarray_const_from_clist:Nn { c }
\cs_new_protected:Npn \@@_const_from_clist:nN #1#2
{
\int_incr:N \l_@@_loop_int
@@ -420,13 +433,16 @@
}
% \end{macrocode}
% \end{macro}
+% \end{macro}
%
-% \begin{macro}[rEXP]{\intarray_to_clist:N, \@@_to_clist:Nn, \@@_to_clist:w}
+% \begin{macro}[rEXP]{\intarray_to_clist:N, \intarray_to_clist:c}
+% \begin{macro}[rEXP]{\@@_to_clist:Nn, \@@_to_clist:w}
% Loop through the array, putting a comma before each item. Remove
% the leading comma with |f|-expansion. We also use the auxiliary in
% \cs{intarray_show:N} with argument comma, space.
% \begin{macrocode}
\cs_new:Npn \intarray_to_clist:N #1 { \@@_to_clist:Nn #1 { , } }
+\cs_generate_variant:Nn \intarray_to_clist:N { c }
\cs_new:Npn \@@_to_clist:Nn #1#2
{
\int_compare:nNnF { \intarray_count:N #1 } = \c_zero_int
@@ -446,8 +462,9 @@
}
% \end{macrocode}
% \end{macro}
+% \end{macro}
%
-% \begin{macro}{\intarray_show:N, \intarray_log:N}
+% \begin{macro}{\intarray_show:N, \intarray_show:c, \intarray_log:c, \intarray_log:N}
% Convert the list to a comma list (with spaces after each comma)
% \begin{macrocode}
\cs_new_protected:Npn \intarray_show:N { \@@_show:NN \msg_show:nnxxxx }
@@ -470,10 +487,10 @@
%
% \subsection{Random arrays}
%
+% \begin{macro}{\intarray_gset_rand:Nn, \intarray_gset_rand:cn}
+% \begin{macro}{\intarray_gset_rand:Nnn, \intarray_gset_rand:cnn}
% \begin{macro}
% {
-% \intarray_gset_rand:Nn,
-% \intarray_gset_rand:Nnn,
% \@@_gset_rand:Nnn,
% \@@_gset_rand:Nff,
% \@@_gset_rand_auxi:Nnnn,
@@ -494,6 +511,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \intarray_gset_rand:Nn #1
{ \intarray_gset_rand:Nnn #1 { 1 } }
+\cs_generate_variant:Nn \intarray_gset_rand:Nn { c }
\sys_if_rand_exist:TF
{
\cs_new_protected:Npn \intarray_gset_rand:Nnn #1#2#3
@@ -557,8 +575,11 @@
{ \intarray_gset_rand:Nnn #1 {#2} {#3} }
}
}
+\cs_generate_variant:Nn \intarray_gset_rand:Nnn { c }
% \end{macrocode}
% \end{macro}
+% \end{macro}
+% \end{macro}
%
% \begin{macrocode}
%</initex|package>
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 3d2eae0a2..4d6469714 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -3531,23 +3531,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3556,6 +3564,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3564,6 +3573,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 3be529fef..fba4d4222 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -3786,23 +3786,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3811,6 +3819,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3819,6 +3828,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index f877fa77e..25685f6ad 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -3786,23 +3786,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3811,6 +3819,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3819,6 +3828,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 046c34386..c0172ab74 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -3786,23 +3786,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3811,6 +3819,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3819,6 +3828,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 81b7535ad..5bd1c5654 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -3530,23 +3530,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3555,6 +3563,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3563,6 +3572,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 3d2eae0a2..4d6469714 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -3531,23 +3531,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3556,6 +3564,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3564,6 +3573,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 3be529fef..fba4d4222 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -3786,23 +3786,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3811,6 +3819,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3819,6 +3828,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index f877fa77e..25685f6ad 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -3786,23 +3786,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3811,6 +3819,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3819,6 +3828,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 046c34386..c0172ab74 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -3786,23 +3786,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3811,6 +3819,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3819,6 +3828,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 81b7535ad..5bd1c5654 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -3530,23 +3530,31 @@ Defining \g__intarray_font_int on line ...
Defining message LaTeX/kernel/negative-array-size on line ...
Defining \__intarray_new:N on line ...
Defining \intarray_new:Nn on line ...
+Defining \intarray_new:cn on line ...
Defining \intarray_count:N on line ...
+Defining \intarray_count:c on line ...
Defining \__intarray_signed_max_dim:n on line ...
Defining \__intarray_bounds:NNnTF on line ...
Defining \__intarray_bounds_error:NNn on line ...
Defining \__kernel_intarray_gset:Nnn on line ...
Defining \intarray_gset:Nnn on line ...
+Defining \intarray_gset:cnn on line ...
Defining \__intarray_gset:Nww on line ...
Defining \__intarray_gset_overflow_test:nw on line ...
Defining \__intarray_gset_overflow:NNnn on line ...
Defining \intarray_gzero:N on line ...
+Defining \intarray_gzero:c on line ...
Defining \__kernel_intarray_item:Nn on line ...
Defining \intarray_item:Nn on line ...
+Defining \intarray_item:cn on line ...
Defining \__intarray_item:Nw on line ...
Defining \intarray_rand_item:N on line ...
+Defining \intarray_rand_item:c on line ...
Defining \intarray_const_from_clist:Nn on line ...
+Defining \intarray_const_from_clist:cn on line ...
Defining \__intarray_const_from_clist:nN on line ...
Defining \intarray_to_clist:N on line ...
+Defining \intarray_to_clist:c on line ...
Defining \__intarray_to_clist:Nn on line ...
Defining \__intarray_to_clist:w on line ...
Defining \intarray_show:N on line ...
@@ -3555,6 +3563,7 @@ Defining \intarray_log:N on line ...
Defining \intarray_log:c on line ...
Defining \__intarray_show:NN on line ...
Defining \intarray_gset_rand:Nn on line ...
+Defining \intarray_gset_rand:cn on line ...
Defining \intarray_gset_rand:Nnn on line ...
Defining \__intarray_gset_rand:Nnn on line ...
Defining \exp_args:NNff on line ...
@@ -3563,6 +3572,7 @@ Defining \__intarray_gset_rand_auxi:Nnnn on line ...
Defining \__intarray_gset_rand_auxii:Nnnn on line ...
Defining \__intarray_gset_rand_auxiii:Nnnn on line ...
Defining \__intarray_gset_all_same:Nn on line ...
+Defining \intarray_gset_rand:cnn on line ...
Defining \__fp_int_eval:w on line ...
Defining \__fp_int_eval_end: on line ...
Defining \__fp_int_to_roman:w on line ...
More information about the latex3-commits
mailing list