aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
blob: eb0fb4064605770ac48b24ec506f3e6702e48353 (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, const char *arg);

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

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

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

#endif