Files
LCUI/lib/css/include/css/utils.h
T

27 lines
614 B
C
Raw Normal View History

2023-12-10 23:19:58 +08:00
/*
* lib/css/include/css/utils.h
*
2024-01-21 23:35:26 +08:00
* Copyright (c) 2023-2024, Liu Chao <i@lc-soft.io> All rights reserved.
2023-12-10 23:19:58 +08:00
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found in the
* LICENSE.TXT file in the root directory of this source tree.
*/
#ifndef LIBCSS_INCLUDE_CSS_UTILS_H
2022-02-20 22:12:44 +08:00
#define LIBCSS_INCLUDE_CSS_UTILS_H
2022-01-30 18:00:04 +08:00
#include "common.h"
#include "types.h"
2022-01-30 18:00:04 +08:00
LIBCSS_BEGIN_DECLS
2022-01-30 18:00:04 +08:00
LIBCSS_PUBLIC libcss_bool_t css_parse_font_weight(const char *str, int *weight);
2022-01-30 18:00:04 +08:00
LIBCSS_PUBLIC libcss_bool_t css_parse_font_style(const char *str, int *style);
2022-01-30 18:00:04 +08:00
LIBCSS_END_DECLS
2022-01-30 18:00:04 +08:00
#endif