/* source_smart_home_end_type : conversion table */
const lookup_info ml_table_source_smart_home_end_type[] = {
  { 0, 4 },
  { MLTAG_BEFORE, GTK_SOURCE_SMART_HOME_END_BEFORE },
  { MLTAG_DISABLED, GTK_SOURCE_SMART_HOME_END_DISABLED },
  { MLTAG_ALWAYS, GTK_SOURCE_SMART_HOME_END_ALWAYS },
  { MLTAG_AFTER, GTK_SOURCE_SMART_HOME_END_AFTER },
};

/* source_draw_spaces_flags : conversion table */
const lookup_info ml_table_source_draw_spaces_flags[] = {
  { 0, 7 },
  { MLTAG_TRAILING, GTK_SOURCE_DRAW_SPACES_TRAILING },
  { MLTAG_SPACE, GTK_SOURCE_DRAW_SPACES_SPACE },
  { MLTAG_TAB, GTK_SOURCE_DRAW_SPACES_TAB },
  { MLTAG_LEADING, GTK_SOURCE_DRAW_SPACES_LEADING },
  { MLTAG_NEWLINE, GTK_SOURCE_DRAW_SPACES_NEWLINE },
  { MLTAG_NBSP, GTK_SOURCE_DRAW_SPACES_NBSP },
  { MLTAG_TEXT, GTK_SOURCE_DRAW_SPACES_TEXT },
};

/* source_completion_activation_flags : conversion table */
const lookup_info ml_table_source_completion_activation_flags[] = {
  { 0, 2 },
  { MLTAG_INTERACTIVE, GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE },
  { MLTAG_USER_REQUESTED, GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED },
};

CAMLprim value ml_source_view3_get_tables ()
{
  CAMLparam0 ();
  CAMLlocal1 (ml_lookup_tables);
  ml_lookup_tables = caml_alloc_tuple(3);
  Field(ml_lookup_tables,0) = Val_lookup_info(ml_table_source_smart_home_end_type);
  Field(ml_lookup_tables,1) = Val_lookup_info(ml_table_source_draw_spaces_flags);
  Field(ml_lookup_tables,2) = Val_lookup_info(ml_table_source_completion_activation_flags);
  CAMLreturn (ml_lookup_tables);
}
