[latex3-commits] [latex3/latex3] object-tracking: Move object tracking from backend (268839d81)

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


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

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

commit 268839d81ac60bdaf681e8e3a55d0e724f74896b
Author: Joseph Wright <joseph at texdev.net>
Date:   Tue Mar 26 15:36:08 2024 +0000

    Move object tracking from backend


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

268839d81ac60bdaf681e8e3a55d0e724f74896b
 l3backend/l3backend-pdf.dtx                        | 46 ++++++----------------
 l3kernel/l3pdf.dtx                                 | 25 ++++++++++--
 l3kernel/testfiles-backend/d3dvipdfmx.tlg          |  1 -
 l3kernel/testfiles-backend/d3dvipdfmx.xetex.tlg    |  1 -
 l3kernel/testfiles-backend/d3dvips.tlg             |  1 -
 l3kernel/testfiles-backend/d3dvips.xetex.tlg       |  1 -
 .../testfiles-backend/d3pdfmode.etex-dvips.tlg     |  1 -
 l3kernel/testfiles-backend/d3pdfmode.uptex.tlg     |  1 -
 l3kernel/testfiles-backend/d3pdfmode.xetex.tlg     |  1 -
 l3kernel/testfiles-backend/d3xetex.etex-dvips.tlg  |  1 -
 l3kernel/testfiles-backend/d3xetex.uptex.tlg       |  1 -
 l3kernel/testfiles-backend/d3xetex.xetex.tlg       |  1 -
 l3kernel/testfiles-plain/m3plain001.luatex.tlg     |  1 +
 l3kernel/testfiles-plain/m3plain001.tlg            |  1 +
 l3kernel/testfiles-plain/m3plain001.xetex.tlg      |  2 +-
 l3kernel/testfiles/m3expl001.ptex.tlg              |  2 -
 l3kernel/testfiles/m3expl001.uptex.tlg             |  2 -
 l3kernel/testfiles/m3expl001.xetex.tlg             |  2 -
 l3kernel/testfiles/m3expl002.ptex.tlg              |  1 -
 l3kernel/testfiles/m3expl002.uptex.tlg             |  1 -
 l3kernel/testfiles/m3expl002.xetex.tlg             |  1 -
 l3kernel/testfiles/m3expl003.ptex.tlg              |  2 -
 l3kernel/testfiles/m3expl003.uptex.tlg             |  2 -
 l3kernel/testfiles/m3expl003.xetex.tlg             |  2 -
 l3kernel/testfiles/m3expl007.ptex.tlg              |  1 -
 l3kernel/testfiles/m3expl007.uptex.tlg             |  1 -
 l3kernel/testfiles/m3expl007.xetex.tlg             |  1 -
 27 files changed, 35 insertions(+), 68 deletions(-)

diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 044bf48ba..2c94c41e9 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -113,25 +113,12 @@
 %
 % \subsubsection{Objects}
 %
-% \begin{variable}{\g_@@_backend_object_int}
-%   For tracking objects.
-%    \begin{macrocode}
-\int_new:N \g_@@_backend_object_int
-%    \end{macrocode}
-% \end{variable}
-%
 % \begin{macro}{\@@_backend_object_new:n}
 % \begin{macro}[EXP]{\@@_backend_object_ref:n}
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_backend_object_new:n #1
-  {
-    \int_gincr:N \g_@@_backend_object_int
-    \int_const:cn
-      { c_@@_object_ \tl_to_str:n {#1} _int }
-      { \g_@@_backend_object_int }
-  }
-\cs_new:Npn \@@_backend_object_ref:n #1
-  { { pdf.obj \int_use:c { c_@@_object_ \tl_to_str:n {#1} _int } } }
+  { \int_gincr:N \g_@@_backend_object_int }
+\cs_new:Npn \@@_backend_object_ref:n #1 { { pdf.obj #1 } }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -156,7 +143,7 @@
 \cs_new_protected:Npn \@@_backend_object_write:nnn #1#2#3
   {
     \@@_backend_object_write_aux:nnn
-      { \@@_backend_object_ref:n {#1} }
+      { \pdf_object_ref:n {#1} }
       {#2} {#3}
   }
 \cs_generate_variant:Nn \@@_backend_object_write:nnn { nne }
@@ -972,17 +959,15 @@
     \tex_pdfobj:D
 %</pdftex>
       reserveobjnum ~
-    \int_const:cn
-      { c_@@_object_ \tl_to_str:n {#1} _int }
+    \int_gset:Nn \g_@@_backend_object_int
 %<*luatex>
-        { \tex_pdffeedback:D lastobj }
+      { \tex_pdffeedback:D lastobj }
 %</luatex>
 %<*pdftex>
-        { \tex_pdflastobj:D }
+      { \tex_pdflastobj:D }
 %</pdftex>
   }
-\cs_new:Npn \@@_backend_object_ref:n #1
-  { \int_use:c { c_@@_object_ \tl_to_str:n {#1} _int } ~ 0 ~ R }
+\cs_new:Npn \@@_backend_object_ref:n #1 { #1 ~ 0 ~ R }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -1001,9 +986,7 @@
 %<*pdftex>
     \tex_immediate:D \tex_pdfobj:D
 %</pdftex>
-      useobjnum ~
-        \int_use:c
-          { c_@@_object_ \tl_to_str:n {#1} _int }
+      useobjnum ~ #1
     \@@_backend_object_write:nn {#2} {#3}
   }
 \cs_new:Npn \@@_backend_object_write:nn #1#2
@@ -1235,10 +1218,9 @@
 %
 % \subsubsection{Objects}
 %
-% \begin{variable}{\g_@@_backend_object_int, \g_@@_backend_object_prop}
+% \begin{variable}{\g_@@_backend_object_prop}
 %   For tracking objects to allow finalisation.
 %    \begin{macrocode}
-\int_new:N \g_@@_backend_object_int
 \prop_new:N \g_@@_backend_object_prop
 %    \end{macrocode}
 % \end{variable}
@@ -1249,14 +1231,8 @@
 %   at this stage.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_backend_object_new:n #1
-  {
-    \int_gincr:N \g_@@_backend_object_int
-    \int_const:cn
-      { c_@@_object_ \tl_to_str:n {#1} _int }
-      { \g_@@_backend_object_int }
-  }
-\cs_new:Npn \@@_backend_object_ref:n #1
-  { @pdf.obj \int_use:c { c_@@_object_ \tl_to_str:n {#1} _int } }
+  { \int_gincr:N \g_@@_backend_object_int }
+\cs_new:Npn \@@_backend_object_ref:n #1 { @pdf.obj #1 }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index ac5d3f64b..e710ed91c 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -314,7 +314,14 @@
 %
 % \subsection{Objects}
 %
-% \begin{macro}{\pdf_object_new:n}
+% \begin{variable}{\g_@@_backend_object_int}
+%   For returning object numbers.
+%    \begin{macrocode}
+\int_new:N \g_@@_backend_object_int
+%    \end{macrocode}
+% \end{variable}
+%
+% \begin{macro}{\pdf_object_new:n, \@@_object_new:n}
 % \begin{macro}
 %   {\pdf_object_write:nnn, \pdf_object_write:nne, \pdf_object_write:nnx}
 % \begin{macro}{\pdf_object_ref:n}
@@ -329,16 +336,26 @@
 %   backend-specific name.
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdf_object_new:n #1
+  { \exp_args:Ne \@@_object_new:n {#1} }
+\cs_new_protected:Npn \@@_object_new:n #1
   {
-    \exp_args:Ne \@@_backend_object_new:n {#1}
+    \@@_backend_object_new:n {#1}
+    \int_const:cn
+      { c_@@_object_ #1 _int }
+      { \g_@@_backend_object_int }
   }
 \cs_new_protected:Npn \pdf_object_write:nnn #1#2#3
   {
-    \exp_args:Ne \@@_backend_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 \pdf_object_write:nnn { nne , nnx }
-\cs_new:Npn \pdf_object_ref:n #1 { \@@_backend_object_ref:n {#1} }
+\cs_new:Npn \pdf_object_ref:n #1
+  {
+    \exp_args:Nv \@@_backend_object_ref:n
+      { c_@@_object_ #1 _int }
+  }
 \cs_new_protected:Npn \pdf_object_unnamed_write:nn #1#2
   {
     \exp_args:Ne \@@_backend_object_now:nn {#1} {#2}
diff --git a/l3kernel/testfiles-backend/d3dvipdfmx.tlg b/l3kernel/testfiles-backend/d3dvipdfmx.tlg
index 27c674c68..b91a6fca7 100644
--- a/l3kernel/testfiles-backend/d3dvipdfmx.tlg
+++ b/l3kernel/testfiles-backend/d3dvipdfmx.tlg
@@ -4,7 +4,6 @@ Don't change this file in any respect.
 File: l3backend-dvipdfmx.def ....-..-.. L3 backend support: dvipdfmx
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 )
diff --git a/l3kernel/testfiles-backend/d3dvipdfmx.xetex.tlg b/l3kernel/testfiles-backend/d3dvipdfmx.xetex.tlg
index 34b4b8e85..835249e50 100644
--- a/l3kernel/testfiles-backend/d3dvipdfmx.xetex.tlg
+++ b/l3kernel/testfiles-backend/d3dvipdfmx.xetex.tlg
@@ -9,7 +9,6 @@ You have requested backend 'dvipdfmx', but this is not suitable for use with the
 File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 )
diff --git a/l3kernel/testfiles-backend/d3dvips.tlg b/l3kernel/testfiles-backend/d3dvips.tlg
index 6e007a38c..128c325f4 100644
--- a/l3kernel/testfiles-backend/d3dvips.tlg
+++ b/l3kernel/testfiles-backend/d3dvips.tlg
@@ -3,7 +3,6 @@ Don't change this file in any respect.
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles-backend/d3dvips.xetex.tlg b/l3kernel/testfiles-backend/d3dvips.xetex.tlg
index 0ceeb3c6f..9f23aa406 100644
--- a/l3kernel/testfiles-backend/d3dvips.xetex.tlg
+++ b/l3kernel/testfiles-backend/d3dvips.xetex.tlg
@@ -9,7 +9,6 @@ You have requested backend 'dvips', but this is not suitable for use with the ac
 File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 )
diff --git a/l3kernel/testfiles-backend/d3pdfmode.etex-dvips.tlg b/l3kernel/testfiles-backend/d3pdfmode.etex-dvips.tlg
index 27396a221..5412c68f9 100644
--- a/l3kernel/testfiles-backend/d3pdfmode.etex-dvips.tlg
+++ b/l3kernel/testfiles-backend/d3pdfmode.etex-dvips.tlg
@@ -8,7 +8,6 @@ You have requested backend 'pdfmode', but this is not suitable for use with the
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles-backend/d3pdfmode.uptex.tlg b/l3kernel/testfiles-backend/d3pdfmode.uptex.tlg
index 27396a221..5412c68f9 100644
--- a/l3kernel/testfiles-backend/d3pdfmode.uptex.tlg
+++ b/l3kernel/testfiles-backend/d3pdfmode.uptex.tlg
@@ -8,7 +8,6 @@ You have requested backend 'pdfmode', but this is not suitable for use with the
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles-backend/d3pdfmode.xetex.tlg b/l3kernel/testfiles-backend/d3pdfmode.xetex.tlg
index 70083edeb..b1b7b93b5 100644
--- a/l3kernel/testfiles-backend/d3pdfmode.xetex.tlg
+++ b/l3kernel/testfiles-backend/d3pdfmode.xetex.tlg
@@ -9,7 +9,6 @@ You have requested backend 'pdfmode', but this is not suitable for use with the
 File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 )
diff --git a/l3kernel/testfiles-backend/d3xetex.etex-dvips.tlg b/l3kernel/testfiles-backend/d3xetex.etex-dvips.tlg
index 80b595fbd..7d5b071db 100644
--- a/l3kernel/testfiles-backend/d3xetex.etex-dvips.tlg
+++ b/l3kernel/testfiles-backend/d3xetex.etex-dvips.tlg
@@ -8,7 +8,6 @@ You have requested backend 'xdvipdfmx', but this is not suitable for use with th
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles-backend/d3xetex.uptex.tlg b/l3kernel/testfiles-backend/d3xetex.uptex.tlg
index 80b595fbd..7d5b071db 100644
--- a/l3kernel/testfiles-backend/d3xetex.uptex.tlg
+++ b/l3kernel/testfiles-backend/d3xetex.uptex.tlg
@@ -8,7 +8,6 @@ You have requested backend 'xdvipdfmx', but this is not suitable for use with th
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles-backend/d3xetex.xetex.tlg b/l3kernel/testfiles-backend/d3xetex.xetex.tlg
index a90479e24..ee085b989 100644
--- a/l3kernel/testfiles-backend/d3xetex.xetex.tlg
+++ b/l3kernel/testfiles-backend/d3xetex.xetex.tlg
@@ -4,7 +4,6 @@ Don't change this file in any respect.
 File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 )
diff --git a/l3kernel/testfiles-plain/m3plain001.luatex.tlg b/l3kernel/testfiles-plain/m3plain001.luatex.tlg
index 49e014d8d..537d2545b 100644
--- a/l3kernel/testfiles-plain/m3plain001.luatex.tlg
+++ b/l3kernel/testfiles-plain/m3plain001.luatex.tlg
@@ -164,6 +164,7 @@ Lua function __intarray_gset_range:w = ...
 \l__box_internal_box=\box...
 \l__color_internal_int=\count...
 \g__color_model_int=\count...
+\g__pdf_backend_object_int=\count...
 \l__coffin_internal_box=\box...
 \l__coffin_internal_dim=\dimen...
 \l__coffin_offset_x_dim=\dimen...
diff --git a/l3kernel/testfiles-plain/m3plain001.tlg b/l3kernel/testfiles-plain/m3plain001.tlg
index f90f29958..218f6cc00 100644
--- a/l3kernel/testfiles-plain/m3plain001.tlg
+++ b/l3kernel/testfiles-plain/m3plain001.tlg
@@ -136,6 +136,7 @@ Package: expl3 ....-..-.. L3 programming layer (code)
 \l__box_internal_box=\box...
 \l__color_internal_int=\count...
 \g__color_model_int=\count...
+\g__pdf_backend_object_int=\count...
 \l__coffin_internal_box=\box...
 \l__coffin_internal_dim=\dimen...
 \l__coffin_offset_x_dim=\dimen...
diff --git a/l3kernel/testfiles-plain/m3plain001.xetex.tlg b/l3kernel/testfiles-plain/m3plain001.xetex.tlg
index fc1cfa779..a6ca3d762 100644
--- a/l3kernel/testfiles-plain/m3plain001.xetex.tlg
+++ b/l3kernel/testfiles-plain/m3plain001.xetex.tlg
@@ -132,6 +132,7 @@ Package: expl3 ....-..-.. L3 programming layer (code)
 \l__box_internal_box=\box...
 \l__color_internal_int=\count...
 \g__color_model_int=\count...
+\g__pdf_backend_object_int=\count...
 \l__coffin_internal_box=\box...
 \l__coffin_internal_dim=\dimen...
 \l__coffin_offset_x_dim=\dimen...
@@ -166,7 +167,6 @@ Package: expl3 ....-..-.. L3 programming layer (code)
 File: l3backend-xetex.def ....-..-.. v L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index aaff39a22..c9c358f52 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -120,8 +120,6 @@ 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 \g__pdf_backend_object_int on line ...
-\g__pdf_backend_object_int=\count...
 Defining \__pdf_backend_object_new:n on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index aaff39a22..c9c358f52 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -120,8 +120,6 @@ 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 \g__pdf_backend_object_int on line ...
-\g__pdf_backend_object_int=\count...
 Defining \__pdf_backend_object_new:n on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 2c9b6f908..248828e0b 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -140,8 +140,6 @@ Defining \__pdf_backend:n on line ...
 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_int on line ...
-\g__pdf_backend_object_int=\count...
 Defining \g__pdf_backend_object_prop on line ...
 Defining \__pdf_backend_object_new:n on line ...
 Defining \__pdf_backend_object_ref:n on line ...
diff --git a/l3kernel/testfiles/m3expl002.ptex.tlg b/l3kernel/testfiles/m3expl002.ptex.tlg
index 9ca9a29fa..5ab69adf4 100644
--- a/l3kernel/testfiles/m3expl002.ptex.tlg
+++ b/l3kernel/testfiles/m3expl002.ptex.tlg
@@ -7,7 +7,6 @@ File: l3debug.def ....-..-.. L3 Debugging support
 ) (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles/m3expl002.uptex.tlg b/l3kernel/testfiles/m3expl002.uptex.tlg
index 9ca9a29fa..5ab69adf4 100644
--- a/l3kernel/testfiles/m3expl002.uptex.tlg
+++ b/l3kernel/testfiles/m3expl002.uptex.tlg
@@ -7,7 +7,6 @@ File: l3debug.def ....-..-.. L3 Debugging support
 ) (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles/m3expl002.xetex.tlg b/l3kernel/testfiles/m3expl002.xetex.tlg
index a893f03cf..5d9238a51 100644
--- a/l3kernel/testfiles/m3expl002.xetex.tlg
+++ b/l3kernel/testfiles/m3expl002.xetex.tlg
@@ -8,7 +8,6 @@ File: l3debug.def ....-..-.. L3 Debugging support
 File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 ))
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index aaff39a22..c9c358f52 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -120,8 +120,6 @@ 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 \g__pdf_backend_object_int on line ...
-\g__pdf_backend_object_int=\count...
 Defining \__pdf_backend_object_new:n on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index aaff39a22..c9c358f52 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -120,8 +120,6 @@ 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 \g__pdf_backend_object_int on line ...
-\g__pdf_backend_object_int=\count...
 Defining \__pdf_backend_object_new:n on line ...
 Defining \__pdf_backend_object_ref:n on line ...
 Defining \__pdf_backend_object_write:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 2c9b6f908..248828e0b 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -140,8 +140,6 @@ Defining \__pdf_backend:n on line ...
 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_int on line ...
-\g__pdf_backend_object_int=\count...
 Defining \g__pdf_backend_object_prop on line ...
 Defining \__pdf_backend_object_new:n on line ...
 Defining \__pdf_backend_object_ref:n on line ...
diff --git a/l3kernel/testfiles/m3expl007.ptex.tlg b/l3kernel/testfiles/m3expl007.ptex.tlg
index 884d395f8..e2546d92b 100644
--- a/l3kernel/testfiles/m3expl007.ptex.tlg
+++ b/l3kernel/testfiles/m3expl007.ptex.tlg
@@ -6,7 +6,6 @@ Package: expl3 ....-..-.. L3 programming layer (loader)
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles/m3expl007.uptex.tlg b/l3kernel/testfiles/m3expl007.uptex.tlg
index 884d395f8..e2546d92b 100644
--- a/l3kernel/testfiles/m3expl007.uptex.tlg
+++ b/l3kernel/testfiles/m3expl007.uptex.tlg
@@ -6,7 +6,6 @@ Package: expl3 ....-..-.. L3 programming layer (loader)
 (l3backend-dvips.def
 File: l3backend-dvips.def ....-..-.. L3 backend support: dvips
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \l__pdf_backend_content_box=\box...
 \l__pdf_backend_model_box=\box...
 \g__pdf_backend_annotation_int=\count...
diff --git a/l3kernel/testfiles/m3expl007.xetex.tlg b/l3kernel/testfiles/m3expl007.xetex.tlg
index 1861b0a10..be9027719 100644
--- a/l3kernel/testfiles/m3expl007.xetex.tlg
+++ b/l3kernel/testfiles/m3expl007.xetex.tlg
@@ -7,7 +7,6 @@ Package: expl3 ....-..-.. L3 programming layer (loader)
 File: l3backend-xetex.def ....-..-.. L3 backend support: XeTeX
 \g__graphics_track_int=\count...
 \l__pdf_internal_box=\box...
-\g__pdf_backend_object_int=\count...
 \g__pdf_backend_annotation_int=\count...
 \g__pdf_backend_link_int=\count...
 )) (expl3.sty





More information about the latex3-commits mailing list.