Edit

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

Branch :

  • Show log

    Commit

  • Author : Ran Benita
    Date : 2025-02-05 14:41:21
    Hash : df2322d7
    Message : Replace include guards by `#pragma once` We currently have a mix of include headers, pragma once and some missing. pragma once is not standard but is widely supported, and we already use it with no issues, so I'd say it's not a problem. Let's convert all headers to pragma once to avoid the annoying include guards. The public headers are *not* converted. Signed-off-by: Ran Benita <ran@unusedvar.com>

  • src/compose/dump.h
  • /*
     * Copyright © 2021 Ran Benita <ran@unusedvar.com>
     * Copyright © 2023 Pierre Le Marre <dev@wismill.eu>
     * SPDX-License-Identifier: MIT
     */
    #pragma once
    
    #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);