1 /* Copyright (C) 2003 Aladdin Enterprises. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15 */ 16 17 /* $Id: ttinterp.h,v 1.1 2003/10/01 13:44:56 igor Exp $ */ 18 19 /* Changes after FreeType: cut out the TrueType instruction interpreter. */ 20 21 /******************************************************************* 22 * 23 * ttinterp.h 2.2 24 * 25 * TrueType bytecode intepreter. 26 * 27 * Copyright 1996-1998 by 28 * David Turner, Robert Wilhelm, and Werner Lemberg 29 * 30 * This file is part of the FreeType project, and may only be used 31 * modified and distributed under the terms of the FreeType project 32 * license, LICENSE.TXT. By continuing to use, modify, or distribute 33 * this file you indicate that you have read the license and 34 * understand and accept it fully. 35 * 36 * 37 * Changes between 2.2 and 2.1: 38 * 39 * - a small bugfix in the Push opcodes 40 * 41 * Changes between 2.1 and 2.0: 42 * 43 * - created the TTExec component to take care of all execution 44 * context management. The interpreter has now one single 45 * function. 46 * 47 * - made some changes to support re-entrancy. The re-entrant 48 * interpreter is smaller! 49 * 50 ******************************************************************/ 51 52 #ifndef TTINTERP_H 53 #define TTINTERP_H 54 55 #include "ttcommon.h" 56 #include "ttobjs.h" 57 58 59 #ifdef __cplusplus 60 extern "C" { 61 #endif 62 63 /* Run instructions in current execution context */ 64 TT_Error RunIns( PExecution_Context exc ); 65 66 #ifdef __cplusplus 67 } 68 #endif 69 70 #endif /* TTINTERP_H */ 71 72 73 /* END */ 74