aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
blob: 86d77ea7f0467be160b2a658f9b1b311cbeb5050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef UTILS_H
#define UTILS_H
#include <stdbool.h>

/// Prototypes

signed
parse_int(char *string, char *arg);

unsigned
parse_uint(char *string, char *arg);

double
parse_double(char *string, char *arg);

bool
parse_color(char *hex, Color *color, signed alpha);

#endif