<commit_before>#ifndef E_COLOR_HEADER
#define E_COLOR_HEADER
typedef enum _E_Color_Component E_Color_Component;

enum _E_Color_Component
{
   E_COLOR_COMPONENT_R,
   E_COLOR_COMPONENT_G,
   E_COLOR_COMPONENT_B,
   E_COLOR_COMPONENT_H,
   E_COLOR_COMPONENT_S,
   E_COLOR_COMPONENT_V,
   E_COLOR_COMPONENT_MAX
};

// used so that a single color struct can be shared by all elements of the color dialog
typedef struct _E_Color E_Color;
struct _E_Color
{
   int r, g, b;
   float h, s, v;
   int a;
};

void e_color_update_rgb(E_Color *ec);
void e_color_update_hsv(E_Color *ec);
#endif<commit_msg>formatting, EAPI and add a copy function<commit_after>/*
 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
 */
#ifdef E_TYPEDEFS

typedef enum _E_Color_Component E_Color_Component;

#else
#ifndef E_COLOR_HEADER
#define E_COLOR_HEADER

enum _E_Color_Component
{
   E_COLOR_COMPONENT_R,
   E_COLOR_COMPONENT_G,
   E_COLOR_COMPONENT_B,
   E_COLOR_COMPONENT_H,
   E_COLOR_COMPONENT_S,
   E_COLOR_COMPONENT_V,
   E_COLOR_COMPONENT_MAX
};

// used so that a single color struct can be shared by all elements of the color dialog
typedef struct _E_Color E_Color;
struct _E_Color
{
   int r, g, b;
   float h, s, v;
   int a;
};

EAPI void e_color_update_rgb (E_Color *ec);
EAPI void e_color_update_hsv (E_Color *ec);
EAPI void e_color_copy       (E_Color *from, E_Color *to);
#endif
#endif
{'fraction_non_alphanumeric': 0.074800290486565, 'fraction_numerical': 0.005809731299927378, 'mean_word_length': 4.939655172413793, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3780463', 'n_tokens_mistral': 569, 'n_tokens_neox': 562, 'n_words': 136}