Edit

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

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-07-07 12:28:24
    Hash : dc63e5f8
    Message : Ensure config.h is always included first While `config.h` may not be necessary in every file, it ensures consistency and makes code refactoring safer.

  • src/compose/paths.h
  • /*
     * Copyright © 2014 Ran Benita <ran234@gmail.com>
     * SPDX-License-Identifier: MIT
     */
    
    #pragma once
    
    #include "config.h"
    
    #include "xkbcommon/xkbcommon.h"
    
    char *
    resolve_locale(struct xkb_context *ctx, const char *locale);
    
    const char *
    get_xlocaledir_path(struct xkb_context *ctx);
    
    char *
    get_xcomposefile_path(struct xkb_context *ctx);
    
    char *
    get_xdg_xcompose_file_path(struct xkb_context *ctx);
    
    char *
    get_home_xcompose_file_path(struct xkb_context *ctx);
    
    char *
    get_locale_compose_file_path(struct xkb_context *ctx, const char *locale);