aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/type.h
blob: 24fc97f99fee15b6571e88f7f739c08684843ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Uzbl Types
 */

enum ptr_type {
    TYPE_INT = 1,
    TYPE_STR,
    TYPE_FLOAT,
    TYPE_NAME,
    TYPE_FORMATTEDSTR // used by send_event
};

typedef struct {
    enum ptr_type type;
    union {
        int   *i;
        float *f;
        gchar **s;
    } ptr;
    int dump;
    int writeable;
    /*@null@*/ void (*func)(void);
} uzbl_cmdprop;