summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex/texnodes.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-01-16 05:54:04 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-01-16 05:54:04 +0000
commit77ab6ed5ef1f461991eac129796fcfa887c3576e (patch)
treee8fe1108d51542456ec973b4adfaaf9ca2803752 /Build/source/texk/web2c/luatexdir/tex/texnodes.h
parent2787bcb50d7936fe64a7b4c389d373a432b8404d (diff)
sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@57441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/texnodes.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/texnodes.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.h b/Build/source/texk/web2c/luatexdir/tex/texnodes.h
index 121511bc098..9742ca4966c 100644
--- a/Build/source/texk/web2c/luatexdir/tex/texnodes.h
+++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.h
@@ -734,6 +734,7 @@ typedef enum {
pdf_setmatrix_node,
pdf_save_node,
pdf_restore_node,
+ pdf_link_state_node,
} whatsit_types;
# define first_common_whatsit 0
@@ -741,9 +742,11 @@ typedef enum {
# define backend_first_dvi_whatsit 15
# define backend_last_dvi_whatsit 15
# define backend_first_pdf_whatsit 16
-# define backend_last_pdf_whatsit 31
+# define backend_last_pdf_whatsit 32
-# define MAX_WHATSIT_TYPE 32
+/* add some slack for the future */
+
+# define MAX_WHATSIT_TYPE 34
# define known_whatsit_type(i) ( \
(i >= first_common_whatsit && i <= last_common_whatsit) || \
@@ -920,6 +923,10 @@ typedef enum {
# define pdf_save_node_size 3
# define pdf_restore_node_size 3
+# define pdf_link_state_node_size 3
+
+# define pdf_link_state(a) vinfo((a) + 2)
+
# define pdf_colorstack_node_size 4
# define pdf_colorstack_stack(a) vlink((a)+2)
# define pdf_colorstack_cmd(a) vinfo((a)+2)