type_entry type_table[] = {
  {"AcceleratorTable",message_write_accelerator_table,message_read_accelerator_table},
  {"Alignment",message_write_enum,message_read_enum},
  {"ArrowDirection",message_write_enum,message_read_enum},
  {"Atom",message_write_atom,message_read_atom},
  {"Attachment",message_write_enum,message_read_enum},
  {"Bitmap",message_write_xid,message_read_xid},
  {"Bool",message_write_boolean,message_read_boolean},
  {"Boolean",message_write_boolean,message_read_boolean},
  {"CallbackReason",message_write_enum,message_read_enum},
  {"Cardinal",message_write_int,message_read_int},
  {"Char",message_write_short,message_read_short},
  {"Color",message_write_color,message_read_color},
  {"Colormap",message_write_xid,message_read_xid},
  {"CommandWindowLocation",message_write_enum,message_read_enum},
  {"Cursor",message_write_xid,message_read_xid},
  {"DefaultButtonType",message_write_enum,message_read_enum},
  {"DialogStyle",message_write_enum,message_read_enum},
  {"DialogType",message_write_enum,message_read_enum},
  {"Dimension",message_write_short,message_read_short},
  {"EditMode",message_write_enum,message_read_enum},
  {"Enum",message_write_enum,message_read_enum},
  {"Event",message_write_event,message_read_event},
  {"FileTypeMask",message_write_enum,message_read_enum},
  {"Float",message_write_float,message_read_float},
  {"Font",message_write_xid,message_read_xid},
  {"FontList",message_write_font_list,message_read_font_list},
  {"Function",message_write_function,message_read_function},
  {"GrabKind",message_write_enum,message_read_enum},
  {"HighlightMode",message_write_enum,message_read_enum},
  {"IndicatorType",message_write_enum,message_read_enum},
  {"InitialState",message_write_int,message_read_int},
  {"Int",message_write_int,message_read_int},
  {"IntList",message_write_int_list,message_read_int_list},
  {"KeyboardFocusPolicy",message_write_enum,message_read_enum},
  {"LabelType",message_write_enum,message_read_enum},
  {"ListSizePolicy",message_write_enum,message_read_enum},
  {"MultiClick",message_write_enum,message_read_enum},
  {"NavigationType",message_write_enum,message_read_enum},
  {"Packing",message_write_enum,message_read_enum},
  {"Pixel",message_write_int,message_read_int},
  {"Pixmap",message_write_xid,message_read_xid},
  {"Pointer",message_write_int,message_read_int},
  {"Position",message_write_short,message_read_short},
  {"ProcessingDirection",message_write_enum,message_read_enum},
  {"ResizePolicy",message_write_enum,message_read_enum},
  {"ResourceList",message_write_resource_list,message_read_resource_list},
  {"ResourceNames",message_write_resource_names,message_read_resource_names},
  {"RowColumnType",message_write_enum,message_read_enum},
  {"ScrollBarDisplayPolicy",message_write_enum,message_read_enum},
  {"ScrollBarPlacement",message_write_enum,message_read_enum},
  {"ScrollingPolicy",message_write_enum,message_read_enum},
  {"SelectionPolicy",message_write_enum,message_read_enum},
  {"SeparatorType",message_write_enum,message_read_enum},
  {"ShadowType",message_write_enum,message_read_enum},
  {"Short",message_write_short,message_read_short},
  {"String",message_write_string,message_read_string},
  {"StringDirection",message_write_enum,message_read_enum},
  {"StringTable",message_write_string_table,message_read_string_table},
  {"StringToken",message_write_string_token,message_read_string_token},
  {"TranslationTable",message_write_translation_table,message_read_translation_table},
  {"TraversalDirection",message_write_enum,message_read_enum},
  {"UnitType",message_write_enum,message_read_enum},
  {"UnsignedChar",message_write_short,message_read_short},
  {"VisualPolicy",message_write_enum,message_read_enum},
  {"Widget",message_write_widget,message_read_widget},
  {"WidgetClass",message_write_widget_class,message_read_widget_class},
  {"WidgetList",message_write_widget_list,message_read_widget_list},
  {"Window",message_write_xid,message_read_xid},
  {"XmString",message_write_xm_string,message_read_xm_string},
  {"XmStringTable",message_write_xm_string_table,message_read_xm_string_table},
  {NULL,NULL,NULL}
};

#define TYPE_TABLE_SIZE 70
