ttinterp.h 2.0 KB

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