gscedata.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (C) 2002 artofcode LLC. All rights reserved.
  3. * See toolbin/encs2c.ps for the complete license notice.
  4. *
  5. * $Id: gscedata.h,v 1.4 2004/10/04 17:28:33 igor Exp $
  6. *
  7. * This file contains substantial parts of toolbin/encs2c.ps,
  8. * which generated the remainder of the file mechanically from
  9. * gs_std_e.ps gs_il1_e.ps gs_sym_e.ps gs_dbt_e.ps
  10. * gs_wan_e.ps gs_mro_e.ps gs_mex_e.ps gs_mgl_e.ps
  11. * gs_lgo_e.ps gs_lgx_e.ps gs_css_e.ps
  12. */
  13. #ifndef gscedata_INCLUDED
  14. # define gscedata_INCLUDED
  15. #define NUM_LEN_BITS 5
  16. #define N(len,offset) (((offset) << NUM_LEN_BITS) + (len))
  17. #define N_LEN(e) ((e) & ((1 << NUM_LEN_BITS) - 1))
  18. #define N_OFFSET(e) ((e) >> NUM_LEN_BITS)
  19. extern const char gs_c_known_encoding_chars[];
  20. extern const int gs_c_known_encoding_total_chars;
  21. extern const int gs_c_known_encoding_max_length;
  22. extern const ushort gs_c_known_encoding_offsets[];
  23. extern const int gs_c_known_encoding_count;
  24. extern const ushort *const gs_c_known_encodings[];
  25. extern const ushort *const gs_c_known_encodings_reverse[];
  26. extern const ushort gs_c_known_encoding_lengths[];
  27. extern const ushort gs_c_known_encoding_reverse_lengths[];
  28. #endif /* gscedata_INCLUDED */