Edit

kc3-lang/libxkbcommon/src/compose/dump.h

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2024-09-01 08:32:21
    Hash : 652b03cc
    Message : compose: Add Compose table dump internal API - Move `print_compose_table_entry` to own file and add a `file` argument to select output. - Add `xkb_compose_table_dump` to dump a Compose table. This change is needed in order to share the feature “dump a Compose table” between tests and tools.

  • src/compose/dump.h
  • #ifndef COMPOSE_DUMP_H
    #define COMPOSE_DUMP_H
    
    #include "config.h"
    
    #include "table.h"
    
    bool
    print_compose_table_entry(FILE *file, struct xkb_compose_table_entry *entry);
    
    bool
    xkb_compose_table_dump(FILE *file, struct xkb_compose_table *table);
    
    #endif