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

github at latex-project.org github at latex-project.org
Wed Mar 27 10:10:05 CET 2024


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

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

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

    Drop an unrequired arg.


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

57d59dce4fd54b855bb7529a494831515db74f61
 l3backend/l3backend-pdf.dtx | 16 ++++++++--------
 l3kernel/l3pdf.dtx          |  2 +-
 2 files changed, 9 insertions(+), 9 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 40a2d3219..b08f7d44c 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 }





More information about the latex3-commits mailing list.