summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/ptexlib.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-11-14 00:48:08 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-11-14 00:48:08 +0000
commit64322869cd45fa0029198b6ef544363a0cf49eb6 (patch)
treefaa34b755a1bd7b9b5ca4a66d204deebf841d119 /Build/source/texk/web2c/luatexdir/ptexlib.h
parent6d37525a79984eea934633c34944113831e3fecb (diff)
web2c/luatexdir: Sync with the upstream trunk.
git-svn-id: svn://tug.org/texlive/trunk@38844 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/ptexlib.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/ptexlib.h43
1 files changed, 23 insertions, 20 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ptexlib.h b/Build/source/texk/web2c/luatexdir/ptexlib.h
index 5855931d854..3d05b8661c5 100644
--- a/Build/source/texk/web2c/luatexdir/ptexlib.h
+++ b/Build/source/texk/web2c/luatexdir/ptexlib.h
@@ -149,25 +149,25 @@ size_t T##_limit
# define str_prefix(s1, s2) (strncmp((s1), (s2), strlen(s2)) == 0)
-/* that was ptexmac.h */
-
# include "tex/mainbody.h"
# include "tex/expand.h"
# include "tex/conditional.h"
-# include "pdf/pdftypes.h"
-/* synctex */
+# include "pdf/pdftypes.h" /* the backend data structure, shared between dvi and pdf */
+
# include "synctex.h"
# include "utils/avlstuff.h"
# include "utils/managed-sa.h"
+
# include "image/writeimg.h"
+
# include "dvi/dvigen.h"
+
+# include "pdf/pdftables.h"
# include "pdf/pdfpagetree.h"
# include "pdf/pdfgen.h"
# include "pdf/pdfpage.h"
-# include "pdf/pdftables.h"
-
# include "pdf/pdfaction.h"
# include "pdf/pdfannot.h"
# include "pdf/pdfcolorstack.h"
@@ -194,8 +194,10 @@ size_t T##_limit
# include "font/luatexfont.h"
# include "font/mapfile.h"
+
# include "utils/utils.h"
# include "utils/unistring.h"
+
# include "image/writejbig2.h"
# include "image/pdftoepdf.h"
@@ -244,15 +246,20 @@ extern halfword new_ligkern(halfword head, halfword tail);
extern halfword handle_ligaturing(halfword head, halfword tail);
extern halfword handle_kerning(halfword head, halfword tail);
-halfword lua_hpack_filter(halfword head_node, scaled size, int pack_type,
- int extrainfo, int d);
-void lua_node_filter(int filterid, int extrainfo, halfword head_node,
- halfword * tail_node);
-halfword lua_vpack_filter(halfword head_node, scaled size, int pack_type,
- scaled maxd, int extrainfo, int d);
-void lua_node_filter_s(int filterid, int extrainfo);
-int lua_linebreak_callback(int is_broken, halfword head_node,
- halfword * new_head);
+halfword lua_hpack_filter(
+ halfword head_node, scaled size, int pack_type, int extrainfo, int d);
+void lua_node_filter(
+ int filterid, int extrainfo, halfword head_node,
+ halfword * tail_node);
+halfword lua_vpack_filter(
+ halfword head_node, scaled size, int pack_type, scaled maxd, int extrainfo, int d);
+void lua_node_filter_s(
+ int filterid, int extrainfo);
+int lua_linebreak_callback(
+ int is_broken, halfword head_node, halfword * new_head);
+int lua_appendtovlist_callback(
+ halfword box, int location, halfword prev_depth, boolean is_mirrored,
+ halfword * result, int * next_depth, boolean * prev_set);
void lua_pdf_literal(PDF pdf, int i);
void copy_pdf_literal(pointer r, pointer p);
@@ -361,9 +368,7 @@ extern string normalize_quotes(const_string name, const_string mesg);
extern string dump_name;
extern const_string c_job_name;
-extern halfword *check_isnode(lua_State * L, int ud);
-extern void lua_nodelib_push_fast(lua_State * L, halfword n);
-
+extern halfword *check_isnode(lua_State * L, int i);
extern void lua_nodelib_push_fast(lua_State * L, halfword n);
extern halfword list_node_mem_usage(void);
@@ -379,6 +384,4 @@ extern extinfo *copy_variants(extinfo * o);
extern int program_name_set; /* in lkpselib.c */
-
-
#endif /* PTEXLIB_H */