[latex3-commits] [latex3/latex3] object-tracking: Remove e-type expansion - not required (8ca92d240)

github at latex-project.org github at latex-project.org
Mon Apr 1 09:18:41 CEST 2024


Repository : https://github.com/latex3/latex3
On branch  : object-tracking
Link       : https://github.com/latex3/latex3/commit/8ca92d24078af4c233412f502f5402a54646fc24

>---------------------------------------------------------------

commit 8ca92d24078af4c233412f502f5402a54646fc24
Author: Joseph Wright <joseph at texdev.net>
Date:   Thu Mar 28 17:37:14 2024 +0000

    Remove e-type expansion - not required
    
    From review,


>---------------------------------------------------------------

8ca92d24078af4c233412f502f5402a54646fc24
 l3kernel/l3pdf.dtx | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 00e125c5d..194026c6c 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -367,44 +367,32 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}{\pdf_object_new:n, \@@_object_new:n, \@@_object_new:e}
+% \begin{macro}{\pdf_object_new:n}
 % \begin{macro}
-%   {
-%     \pdf_object_write:nnn, \pdf_object_write:nne, \pdf_object_write:nnx
-%     \@@_object_write:nnn, \@@_object_write:enn
-%   }
-% \begin{macro}{\pdf_object_ref:n, \@@_object_ref:n, \@@_object_ref:e}
+%   {\pdf_object_write:nnn, \pdf_object_write:nne, \pdf_object_write:nnx}
+% \begin{macro}{\pdf_object_ref:n}
 %   Simple to do: all objects create a constant |int| so it is not a
 %   backend-specific name.
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdf_object_new:n #1
-  { \@@_object_new:e {#1} }
-\cs_new_protected:Npn \@@_object_new:n #1
   {
     \@@_backend_object_new:
     \int_const:cn
       { c_@@_object_ #1 _int }
       { \g_@@_backend_object_int }
   }
-\cs_generate_variant:Nn \@@_object_new:n { e }
 \cs_new_protected:Npn \pdf_object_write:nnn #1#2#3
-  { \@@_object_write:enn {#1} {#2} {#3} }
-\cs_generate_variant:Nn \pdf_object_write:nnn { nne , nnx }
-\cs_new_protected:Npn \@@_object_write:nnn #1#2#3
   {
     \exp_args:Nv \@@_backend_object_write:nnn
       { c_@@_object_ #1 _int } {#2} {#3}
     \bool_gset_true:N \g_@@_init_bool
   }
-\cs_generate_variant:Nn \@@_object_write:nnn { e }
+\cs_generate_variant:Nn \pdf_object_write:nnn { nne , nnx }
 \cs_new:Npn \pdf_object_ref:n #1
-  { \@@_object_ref:e {#1} }
-\cs_new:Npn \@@_object_ref:n #1
-  {
+ {
     \exp_args:Nv \@@_backend_object_ref:n
       { c_@@_object_ #1 _int }
   }
-\cs_generate_variant:Nn \@@_object_ref:n { e }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}





More information about the latex3-commits mailing list.