[latex3-commits] [latex3/latex3] object-tracking: Code re-arrangement (352c72aff)
github at latex-project.org
github at latex-project.org
Wed Apr 3 12:42:35 CEST 2024
Repository : https://github.com/latex3/latex3
On branch : object-tracking
Link : https://github.com/latex3/latex3/commit/352c72affa905febea168061f32b4e8f1ee49566
>---------------------------------------------------------------
commit 352c72affa905febea168061f32b4e8f1ee49566
Author: Joseph Wright <joseph at texdev.net>
Date: Wed Apr 3 11:42:35 2024 +0100
Code re-arrangement
>---------------------------------------------------------------
352c72affa905febea168061f32b4e8f1ee49566
l3kernel/l3pdf.dtx | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 3070a9027..d8ef42190 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -375,6 +375,7 @@
% {\pdf_object_write:nnn, \pdf_object_write:nne, \pdf_object_write:nnx}
% \begin{macro}{\pdf_object_ref:n,}
% \begin{macro}{\__kernel_pdf_object_id:n}
+% \begin{macro}[pTF]{\pdf_object_if_exist:n}
% Simple to do: all objects create a constant |int| so it is not a
% backend-specific name.
% \begin{macrocode}
@@ -402,15 +403,6 @@
\exp_args:Nv \@@_backend_object_id:n
{ c_@@_object_ #1 _int }
}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \begin{macro}[pTF]{\pdf_object_if_exist:n}
-% Check for an existing assignment.
-% \begin{macrocode}
\prg_new_conditional:Npnn \pdf_object_if_exist:n #1 { p , T , F , TF }
{
\int_if_exist:cTF { c_@@_object_ #1 _int }
@@ -419,6 +411,10 @@
}
% \end{macrocode}
% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
%
% \begin{variable}{\c_@@_object_block_size_int}
% Sets the block size used for managing indexed objects.
More information about the latex3-commits
mailing list.