[latex3-commits] [latex3/latex3] object-tracking: Drop an unrequired arg. (b8506ac06)

github at latex-project.org github at latex-project.org
Thu Mar 28 12:11:09 CET 2024


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

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

commit b8506ac06854d7e8eac279be172621641f1ef4ad
Author: Joseph Wright <joseph at texdev.net>
Date:   Wed Mar 27 09:10:05 2024 +0000

    Drop an unrequired arg.


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

b8506ac06854d7e8eac279be172621641f1ef4ad
 l3backend/l3backend-pdf.dtx             | 16 ++++++++--------
 l3kernel/l3pdf.dtx                      |  2 +-
 l3kernel/testfiles/m3expl001.luatex.tlg |  2 +-
 l3kernel/testfiles/m3expl001.ptex.tlg   |  2 +-
 l3kernel/testfiles/m3expl001.tlg        |  2 +-
 l3kernel/testfiles/m3expl001.uptex.tlg  |  2 +-
 l3kernel/testfiles/m3expl001.xetex.tlg  |  2 +-
 l3kernel/testfiles/m3expl003.luatex.tlg |  2 +-
 l3kernel/testfiles/m3expl003.ptex.tlg   |  2 +-
 l3kernel/testfiles/m3expl003.tlg        |  2 +-
 l3kernel/testfiles/m3expl003.uptex.tlg  |  2 +-
 l3kernel/testfiles/m3expl003.xetex.tlg  |  2 +-
 12 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 2c94c41e9..9c385c96c 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -113,10 +113,10 @@
 %
 % \subsubsection{Objects}
 %
-% \begin{macro}{\@@_backend_object_new:n}
+% \begin{macro}{\@@_backend_object_new:}
 % \begin{macro}[EXP]{\@@_backend_object_ref:n}
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_backend_object_new:n #1
+\cs_new_protected:Npn \@@_backend_object_new:
   { \int_gincr:N \g_@@_backend_object_int }
 \cs_new:Npn \@@_backend_object_ref:n #1 { { pdf.obj #1 } }
 %    \end{macrocode}
@@ -945,12 +945,12 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}{\@@_backend_object_new:n}
+% \begin{macro}{\@@_backend_object_new:}
 % \begin{macro}[EXP]{\@@_backend_object_ref:n}
 %   Declaring objects means reserving at the PDF level plus starting
 %   tracking.
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_backend_object_new:n #1
+\cs_new_protected:Npn \@@_backend_object_new:
   {
 %<*luatex>
     \tex_pdfextension:D obj ~
@@ -1225,12 +1225,12 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}{\@@_backend_object_new:n}
+% \begin{macro}{\@@_backend_object_new:}
 % \begin{macro}[EXP]{\@@_backend_object_ref:n}
 %   Objects are tracked at the macro level, but we don't have to do anything
 %   at this stage.
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_backend_object_new:n #1
+\cs_new_protected:Npn \@@_backend_object_new:
   { \int_gincr:N \g_@@_backend_object_int }
 \cs_new:Npn \@@_backend_object_ref:n #1 { @pdf.obj #1 }
 %    \end{macrocode}
@@ -1603,7 +1603,7 @@
 %
 % \subsubsection{Objects}
 %
-% \begin{macro}{\@@_backend_object_new:n}
+% \begin{macro}{\@@_backend_object_new:}
 % \begin{macro}[EXP]{\@@_backend_object_ref:n}
 % \begin{macro}{\@@_backend_object_write:nnn, \@@_backend_object_write:ne}
 % \begin{macro}{\@@_backend_object_now:nn, , \@@_backend_object_now:ne}
@@ -1611,7 +1611,7 @@
 % \begin{macro}[EXP]{\@@_backend_pageobject_ref:n}
 %   All no-ops here.
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_backend_object_new:nn #1 { }
+\cs_new_protected:Npn \@@_backend_object_new: { }
 \cs_new:Npn \@@_backend_object_ref:n #1 { }
 \cs_new_protected:Npn \@@_backend_object_write:nnn #1#2#3 { }
 \cs_new_protected:Npn \@@_backend_object_write:nne #1#2#3 { }
diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index d8e177dba..2cd6fd571 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -335,7 +335,7 @@
   { \@@_object_new:e {#1} }
 \cs_new_protected:Npn \@@_object_new:n #1
   {
-    \@@_backend_object_new:n {#1}
+    \@@_backend_object_new:
     \int_const:cn
       { c_@@_object_ #1 _int }
       { \g_@@_backend_object_int }
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index b6f31c6b2..cf86eb794 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -148,7 +148,7 @@ Defining \__pdf_backend_destination:nnnn on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
 Defining \g__pdf_backend_object_prop on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nn on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index c9c358f52..361e53106 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -120,7 +120,7 @@ Defining \__pdf_backend_pdfmark:n on line ...
 Defining \__pdf_backend_pdfmark:e on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nne on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 01a13748b..ab6050229 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -148,7 +148,7 @@ Defining \__pdf_backend_destination:nnnn on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
 Defining \g__pdf_backend_object_prop on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nn on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index c9c358f52..361e53106 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -120,7 +120,7 @@ Defining \__pdf_backend_pdfmark:n on line ...
 Defining \__pdf_backend_pdfmark:e on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nne on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 248828e0b..a192bfbc8 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -141,7 +141,7 @@ Defining \__pdf_backend:e on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
 Defining \g__pdf_backend_object_prop on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nne on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index b6f31c6b2..cf86eb794 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -148,7 +148,7 @@ Defining \__pdf_backend_destination:nnnn on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
 Defining \g__pdf_backend_object_prop on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nn on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index c9c358f52..361e53106 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -120,7 +120,7 @@ Defining \__pdf_backend_pdfmark:n on line ...
 Defining \__pdf_backend_pdfmark:e on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nne on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 01a13748b..ab6050229 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -148,7 +148,7 @@ Defining \__pdf_backend_destination:nnnn on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
 Defining \g__pdf_backend_object_prop on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nn on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index c9c358f52..361e53106 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -120,7 +120,7 @@ Defining \__pdf_backend_pdfmark:n on line ...
 Defining \__pdf_backend_pdfmark:e on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nne on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 248828e0b..a192bfbc8 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -141,7 +141,7 @@ Defining \__pdf_backend:e on line ...
 Defining \__pdf_backend_catalog_gput:nn on line ...
 Defining \__pdf_backend_info_gput:nn on line ...
 Defining \g__pdf_backend_object_prop on line ...
-Defining \__pdf_backend_object_new:n on line ...
+Defining \__pdf_backend_object_new: on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
 Defining \__pdf_backend_object_write:nne on line ...





More information about the latex3-commits mailing list.