From f372862c42d234710b6057449b46818e63181c90 Mon Sep 17 00:00:00 2001 From: Taco Hoekwater Date: Sun, 4 Apr 2010 13:55:46 +0000 Subject: import luatex 0.60.0 (with small local changes, see luatexdir/ChangeLog) and do an autoreconf git-svn-id: svn://tug.org/texlive/trunk@17680 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/ocp/runocp.h | 60 ++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Build/source/texk/web2c/luatexdir/ocp/runocp.h (limited to 'Build/source/texk/web2c/luatexdir/ocp/runocp.h') diff --git a/Build/source/texk/web2c/luatexdir/ocp/runocp.h b/Build/source/texk/web2c/luatexdir/ocp/runocp.h new file mode 100644 index 00000000000..bf94918dc2e --- /dev/null +++ b/Build/source/texk/web2c/luatexdir/ocp/runocp.h @@ -0,0 +1,60 @@ +/* runocp.h + + Copyright 2006-2009 Taco Hoekwater + + This file is part of LuaTeX. + + LuaTeX is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your + option) any later version. + + LuaTeX is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU General Public License along + with LuaTeX; if not, see . */ + +/* $Id: runocp.h 3302 2009-12-25 12:49:14Z oneiros $ */ + +#ifndef RUNOCP_H + +# define RUNOCP_H 1 + +# define active_mem_size 50000 /* number of words of |active_info| for active ocps */ + +typedef int active_index; + +extern memory_word active_info[(active_mem_size + 1)]; +extern active_index active_min_ptr; +extern active_index active_max_ptr; +extern active_index active_real; + +# define active_ocp(A) active_info[(A)].hh.u.B0 +# define active_counter(A) active_info[(A)].hh.u.B1 +# define active_lstack_no(A) active_info[(A)+1].cint + +extern boolean is_last_ocp(scaled llstack_no, int counter); + +extern void print_active_ocps(void); +extern void add_ocp_stack(int min_index, scaled min_value); +extern void active_compile(void); + +extern void run_ocp(void); +extern void run_otp(void); + +extern void do_push_ocp_list(small_number a); +extern void do_pop_ocp_list(small_number a); +extern void do_clear_ocp_lists(small_number a); + +extern void dump_active_ocp_info(void); +extern void undump_active_ocp_info(void); + +extern void initialize_ocp_buffers(int ocp_buf_size, int ocp_stack_size); + +/* for ocplist.h */ +/* typedef int ocp_list_index ; */ + +#endif -- cgit v1.2.3