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 14 #ifndef gscedata_INCLUDED 15 # define gscedata_INCLUDED 16 17 #define NUM_LEN_BITS 5 18 19 #define N(len,offset) (((offset) << NUM_LEN_BITS) + (len)) 20 #define N_LEN(e) ((e) & ((1 << NUM_LEN_BITS) - 1)) 21 #define N_OFFSET(e) ((e) >> NUM_LEN_BITS) 22 23 extern const char gs_c_known_encoding_chars[]; 24 extern const int gs_c_known_encoding_total_chars; 25 extern const int gs_c_known_encoding_max_length; 26 extern const ushort gs_c_known_encoding_offsets[]; 27 extern const int gs_c_known_encoding_count; 28 extern const ushort *const gs_c_known_encodings[]; 29 extern const ushort *const gs_c_known_encodings_reverse[]; 30 extern const ushort gs_c_known_encoding_lengths[]; 31 extern const ushort gs_c_known_encoding_reverse_lengths[]; 32 33 #endif /* gscedata_INCLUDED */ 34